Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

<TextField type='number' /> has string value #224

@gristow

Description

@gristow

Because the type prop must be static when using two-way value binding (per Rich Harris's answer on StackOverflow), even when we set the type='number' on a <TextField /> the value binding remains to a string.

in PR #193 I proposed a new component for this, but this posed issues around duplication of styles. I'm opening this issue as a discussion place for a possible implementation.

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