-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First option selected in getData #621
Comments
That is the default functionality of select control however you can configure it to work differently as demonstrated below or use a checkbox group. Alternatively you could use the |
Reopening because after thinking about it... this is a bug. Ideally setting a placeholder should de-select the default option. |
Thanks for looking at this Kevin, I ended up removing lines 397 to 399 in form-builder.js. I don't need the first option to be selected anyway :) |
@kevinchappell this is handled by formRender and the extra selected option has no effect. Should we close this or we you wanting to have the radio buttons on the edit field Options container disappear when a placeholder is set? |
Hello all,
The first option is selected in getData even when there is a placeholder (in select fields). Ideally, no options should be selected by default unless specified by the user.
The text was updated successfully, but these errors were encountered: