Skip to content

Settings and activity

2 results found

  1. 1,472 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    An error occurred while saving the comment
    Giancarlo commented  · 

    This is a must to efficiently work with component states.

    For example: I have a component that represents an input. It has a label and an icon which when hovered shows a tooltip. The icon is a component with a hover state and the input component has the following states:
    - Default (empty)
    - Hover (the border chages color)
    - Filled (a value is added)
    - Error (shows error messages and changes the label and border color)
    - Disabled (changes the backgorund color)

    The problem is that, when working with its instances I have to update the label text, icon placement, tooltip text and tooltip size for each one of the states. This behavior makes the usage of component states very painful and almost useless.

    The correct behavior should be that if I update the "Default" state on the instance, the other states that has the same elements must follow the same way it is done when we update the "Default" state in a root componet (the original component). With this behavior we can change what is needed only once and the other states will follow.

    I really do not understand why it is not already implemented. Not even planned to be implemented.

    Giancarlo supported this idea  · 
  2. 464 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    Giancarlo supported this idea  ·