Skip to content

array type stop working if the array's model value be set to null #269

Open
@ulion

Description

@ulion

for a simple checkboxes type, after the form load, if we setup the model (the array field)'s value to null, the checkboxes click will cause code error like I commented on f5ab943 but even I set modelArray to [] when it's null, it avoided the error, but the result model array value is still null, not an array. it seems I set scope.modelArray = [] does not reflect to the field which really in the final result model data.

any idea? it's a bug, but how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions