Skip to content

Rename size prop on input components to avoid native prop conflict #20733

Description

@ecraig12345

Right now some inputs have a size prop which conflicts with a native <input> prop. That prop is only relevant for text inputs (and we should certainly keep the name available for the original behavior there), but the prop name should probably be consistent across all input types.

In Input I used the name fieldSize but open to suggestions.

It's also not clear whether Label's size prop should be renamed--it's commonly used with input fields, but doesn't have the conflict issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions