guillotinaweb / ngx-schema-form

HTML form generation based on JSON Schema
MIT License
485 stars 174 forks source link

Add support of nullable union type for oneOf case #398

Closed iperevozchikov closed 3 years ago

iperevozchikov commented 3 years ago

Solution based on proposal which is told in #397 with one exception, I limited possible use cases to one: currently allowed to use union type only with oneOf. Another cases might ruin the widgets or might happen something an unpredictable at validation process or casting value or something else. Allowed types to mixing in with null are "integer", "number", "string", "boolean".

ebrehault commented 3 years ago

Thanks! This improvement will be available soon in version 2.6.5