-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(forms): Support undefined in toggle and button fields (#2775)
Before, passing no value defaulted to the `valueOff` option in `Field.Toggle`, leading to the same in `Field.Button` (false option being chosen). Now, no buttons is selected when value is undefined. <img width="939" alt="Screenshot 2023-10-20 at 14 38 13" src="https://github.com/dnbexperience/eufemia/assets/2526740/db4cd31f-6fd0-4078-8986-7961eda988eb">
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
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
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