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
When I use ObjectSelect in combination with select's "size" (greater than 1), none of the options are selected inside select element when the value is null, even if "display_empty_item" is set to true.
When form validation fails and form is reloaded, the options are selected as they should be, so it looks like the problem only exists when select value is null.
Is this normal behavior?
Btw, if I use "$form->get('fieldset')->get('element')->setValue('');" after binding the empty option is selected as expected.
The text was updated successfully, but these errors were encountered:
When I use ObjectSelect in combination with select's "size" (greater than 1), none of the options are selected inside select element when the value is null, even if "display_empty_item" is set to true.
When form validation fails and form is reloaded, the options are selected as they should be, so it looks like the problem only exists when select value is null.
Is this normal behavior?
Btw, if I use "$form->get('fieldset')->get('element')->setValue('');" after binding the empty option is selected as expected.
The text was updated successfully, but these errors were encountered: