Skip to content

Add tooltip element #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,47 @@ The above code will create the following user interface:
![Checkboxes screenshot](/extend/component/ui-options/ui-examples/checkbox.png)


### Tooltips

Additional description with optional links

```json
{
"test_tooltip": {
"type": "string",
"title": "Example tooltip",
"options": {
"tooltip": "custom tooltip, default is Open documentation"
},
"description": "Test value.",
"propertyOrder": 1
}
}
```

The above code will create the following user interface:

{: .image-popup}
![Tooltip screenshot](/extend/component/ui-options/ui-examples/tooltip_normal.png)

**Tooltip With Documentation Link**

```json
{
"options": {
"documentation": {
"link": "absolute_url",
"tooltip": "custom tooltip, default is Open documentation"
}
}
}
```


{: .image-popup}
![Tooltip Link screenshot](/extend/component/ui-options/ui-examples/tooltip_link.png)


### Multi Selection

```json
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.