-
-
Notifications
You must be signed in to change notification settings - Fork 337
feat(dropdown): change forceSelection default to false #1747
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
feat(dropdown): change forceSelection default to false #1747
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this default sounds reasonable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Docs added by fomantic/Fomantic-UI-Docs#294 |
Description
This PR changes default value for
forceSelection
tofalse
, because if you click into a dropdownfield and click outside again, the first dropdown value will be selected automatically which is probably not wanted in most cases so it shouldn't be the default.If a
select
HTML field to be converted into a FUI dropdownfield got arequired
attribute, theforceSelection
setting will be set totrue
again automaticallyAs this is a breaking change it is supposed to be part of 2.9
Closes
#1742