mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
[HTMLUtils] Make 'required' attribute Boolean
The 'required' attribute can now be used for all parameters and enabled/disabled using Boolean states true/false respectively: "required" : true or "required" : false This now complies to the Wiki: https://github.com/RSS-Bridge/rss-bridge/wiki/BridgeAbstract
This commit is contained in:
parent
a70e143dc4
commit
c689180fef
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ CARD;
|
||||||
foreach($parameter as $inputEntry) {
|
foreach($parameter as $inputEntry) {
|
||||||
|
|
||||||
$additionalInfoString = "";
|
$additionalInfoString = "";
|
||||||
if(isset($inputEntry['required'])) {
|
if(isset($inputEntry['required']) && $inputEntry['required'] === true) {
|
||||||
|
|
||||||
$additionalInfoString .= " required";
|
$additionalInfoString .= " required";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue