Skip to content

Commit

Permalink
Build data for number inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
abedio committed Dec 6, 2022
1 parent 56cebe3 commit 1ad646e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/libraries/mvc/views/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public function createField($options = array(), bool $getHtml = false){
$code .= "{$attr}=\"{$options[$attr]}\"";
}
}
$code .= $this->buildHtmlData($options);
}else{
$code .= "<input type=\"{$options['type']}\" value=\"" . Safe::htmlentities($options['value']) . '" ';
$code .= $this->buildHtmlData($options);
Expand Down

0 comments on commit 1ad646e

Please sign in to comment.