Skip to content

Need more control in handling Inputfields #106

@shrutivtu

Description

@shrutivtu

We aim to dynamically adjust input field border colors based on error or success states. However, directly manipulating class names isn't sustainable due to potential changes. To address this, we propose a prop-controlled approach. Instead of fixed class names, a status prop conveys error, success, or default states for dynamic styling. This fosters flexibility and future-proofing, ensuring adaptability to evolving class names or structures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions