-
Notifications
You must be signed in to change notification settings - Fork 972
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since @nickw was having issues with the dropdown not defaulting to the first entry if the value was null (even though the options had a null value in it) this seems like a good time to add an option to default to the first element of the supplied options (the prop is called allowBlank) in case the value is not found in the options. The handling of null/undefined values has been fixed too and if there actually is a value of null in the options it is correctly selected now.
- Loading branch information
1 parent
5b6452e
commit 542b58a
Showing
2 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters