mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00: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
@ -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 New Issue
Block a user