Skip to content

isEmpty() doesn't support numeric model values #110

Open
@avaragado

Description

@avaragado

I have a selectize component with the required attribute set. This means isEmpty is called on validation to check whether the model has a value or not.

If the model value is numeric (eg set programmatically rather than by user selection), the isEmpty test fails as numbers don't have a length property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions