Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

model for blank input type=number field should be NaN #576

Closed
@chalin

Description

@chalin

Currently a model property associated with an input of type=number is set to null when the field is plank. It should be set to NaN, consistent with the value returned by InputElement.valueAsNumber.

E.g., in Chrome image yields:
image

Whereas image yields:
image
You also get these same results when the input field contains any invalid text (i.e., text not recognized as a number).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions