Skip to content

boolean values allow true only on generated schema #857

Closed
@jagould

Description

@jagould

We are generated schema automatically from java pojos using jackson libraries. in that library boolean values automatically get "required", which makes sense as in java this is a primitive and so cannot contain null.

Unfortunately, forms are now generating with a checkbox that only allows "true" as the value. This appears new as it did not occur in prior versions of angular-schema-form. Also, I don't believe this matches the schema where required would allow true or false but not null.

@json-schema-form/angular-schema-form-lead

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions