mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Added aria label to form helper
This commit is contained in:
parent
0cf70c9e16
commit
59c5a1ea87
|
@ -514,7 +514,7 @@ Form::macro('customfield_elements', function ($name = "customfield_elements", $s
|
|||
// 'radio' => 'Radio Buttons',
|
||||
);
|
||||
|
||||
$select = '<select name="'.$name.'" class="'.$class.'" style="width: 100%">';
|
||||
$select = '<select name="'.$name.'" class="'.$class.'" style="width: 100%" aria-label="'.$name.'">';
|
||||
foreach ($formats as $format => $label) {
|
||||
$select .= '<option value="'.$format.'"'.($selected == $format ? ' selected="selected"' : '').'>'.$label.'</option> '."\n";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue