goetzrobin / spartan

Cutting-edge tools powering Angular full-stack development.
https://spartan.ng
MIT License
1.09k stars 120 forks source link

fix(select): don't treat 0 value as null #293

Closed elite-benni closed 1 month ago

elite-benni commented 1 month ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

Which package are you modifying?

What is the current behavior?

value bound to ngModel was "null" when the 0 Value was selected

Closes #292

What is the new behavior?

value bound to ngModel is 0 when the 0 Value is selected.

Does this PR introduce a breaking change?

Other information