You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sub label, like the label should remain unchanged when an intent is supplied.
Unlike the helper text, which I understand should be used to display information based on the supplied value (such as "This username is already taken"), the sub label is not contextual and should not be re-coloured based on the intent of the FormGroup.
Possible solution
Do not colour the sub label based on the intent, and instead maintain a constant colour as is done for the label. I think that this change should be made because the sub label should be used to provide further information about the label, and the label does not change colour based on the intent.
The text was updated successfully, but these errors were encountered:
Environment
Code Sandbox
Link to a minimal repro: https://blueprintjs.com/docs/#core/components/form-group
Steps to reproduce
Actual behavior
The sub label inherits the colour of the intent.
Expected behavior
The sub label, like the label should remain unchanged when an intent is supplied.
Unlike the helper text, which I understand should be used to display information based on the supplied value (such as "This username is already taken"), the sub label is not contextual and should not be re-coloured based on the intent of the FormGroup.
Possible solution
Do not colour the sub label based on the intent, and instead maintain a constant colour as is done for the label. I think that this change should be made because the sub label should be used to provide further information about the label, and the label does not change colour based on the intent.
The text was updated successfully, but these errors were encountered: