Update class name for selects

This commit is contained in:
billz 2024-10-24 02:20:34 -07:00
parent 7ddf16da6a
commit e00b2fcfde

View file

@ -396,7 +396,7 @@ function isAssoc($arr)
*/
function SelectorOptions($name, $options, $selected = null, $id = null, $event = null, $disabled = null)
{
echo '<select class="form-control" name="'.htmlspecialchars($name, ENT_QUOTES).'"';
echo '<select class="form-select" name="'.htmlspecialchars($name, ENT_QUOTES).'"';
if (isset($id)) {
echo ' id="' . htmlspecialchars($id, ENT_QUOTES) .'"';
}