You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.
Then you'd load up the $offices_list array using BootForm. Default option = first option = blank. If validation fails, on reload the default will be whatever the user entered last time, assuming the select field is normal HTML without JavaScript fanciness.
Keep in mind that means the user can easily submit a form with this blank field selected, so make sure you perform necessary validation server-side before saving, which you should be doing anyway to protect from shenanigans.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
How to set empty option in select?
The text was updated successfully, but these errors were encountered: