forked from blallo/rss-bridge
Merge pull request #202 from LogMANOriginal/InputTooltip
Customizable tooltip for input parameter
This commit is contained in:
commit
cfac9e72f2
2 changed files with 6 additions and 0 deletions
|
@ -90,6 +90,7 @@ Parameter Name | Parameter values | Description
|
|||
type|text, number, list, checkbox| Type of the input, default is text
|
||||
required| true | Set this if you want your attribute to be required
|
||||
values| [ {"name" : option1Name, "value" : "option1Value"}, ...] | Values list, required with the 'list' type
|
||||
title| text | Will be shown as tooltip when mouse-hovering over the input
|
||||
|
||||
#### Guidelines
|
||||
|
||||
|
|
|
@ -79,6 +79,11 @@ CARD;
|
|||
|
||||
$additionalInfoString .= " pattern=\"".$inputEntry['pattern']."\"";
|
||||
|
||||
}
|
||||
if(isset($inputEntry['title'])) {
|
||||
|
||||
$additionalInfoString .= " title=\"" .$inputEntry['title']."\"";
|
||||
|
||||
}
|
||||
if(!isset($inputEntry['exampleValue'])) $inputEntry['exampleValue'] = "";
|
||||
|
||||
|
|
Loading…
Reference in a new issue