Open
Description
Describe the bug
which template:
- MaterialDesignFrameworkModule — Material Design
- Bootstrap3FrameworkModule — Bootstrap 3
- Bootstrap4FrameworkModule — Bootstrap 4
- NoFrameworkModule — plain HTML
- Other (please specify below)
Selecting any item in the enum drop-down list and then returning to the None
item causes the bound variable to be set to "null"
instead of unset it.
To Reproduce
- open the Demonstration Playground
- choose the "Bootstrap 3" framework
- choose the "Angular Schema Form/Kitchen Sink" example
- enter something to the "Name" field
- select the "undefined" item and check that the
favorite
field is appeared in the live data - select the "None" item and check that the
favorite
field doesn't hide and set to"null"
- check the same with "Bootstrap 4" framework and without framework. The results are the same.
Expected behavior
The favorite
field is removed from the data as in the case of the "Materials" framework.
Desktop (please complete the following information):
- OS: Windows 10.0.19041.1806
- Browser: Firefox
- Version: 106.0.5 (64-bit)
Log output covering before error and any error statements
none
Additional context
none
Context
Can't differentiate null
value and no value. It's a bug.
Possible Implementation
Metadata
Metadata
Assignees
Labels
No labels