Renaming "optional" to "placeholder" Re: #60
Signed-off-by: Adam Engebretson <adam@enge.me>
This commit is contained in:
1 parent
9c4fea1f04
commit
fb7693cf4b
2 files changed
+5
-5
No files matched your search
+3
-3
@@ -494,10 +494,10 @@ class FormBuilder {
|
||||
// all together into one single HTML element that can be put on the form.
|
||||
$html = [];
|
||||
|
||||
if(isset($options['optional']))
|
||||
if(isset($options['placeholder']))
|
||||
{
|
||||
$html[] = $this->placeholderOption($options['optional'], $selected);
|
||||
unset($options['optional']);
|
||||
$html[] = $this->placeholderOption($options['placeholder'], $selected);
|
||||
unset($options['placeholder']);
|
||||
}
|
||||
|
||||
foreach($list as $value => $display)
|
||||
|
||||
Reference in new issue
Block a user