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
Describe the bug
When passing a string to the errorMessage prop while disabled prop is true doesn't give the red text which I was expecting.
The errorMessage text doesn't show up at all if the TextInput is Disabled and required at the same time.
To Reproduce
<TextInput
disabled
errorMessage={'Some arbitrary text'}
/>
Expected behavior
Expected the text to be red as it is otherwise.
Screenshots
with disabled prop
with disabled and required prop
Additional context
Version used:
fusion-react-textinput: 0.6.15
The text was updated successfully, but these errors were encountered:
odinr
transferred this issue from equinor/fusion-react-components
Sep 11, 2023
Describe the bug
When passing a string to the errorMessage prop while disabled prop is true doesn't give the red text which I was expecting.
The errorMessage text doesn't show up at all if the TextInput is Disabled and required at the same time.
To Reproduce
<TextInput
disabled
errorMessage={'Some arbitrary text'}
/>
Expected behavior
Expected the text to be red as it is otherwise.
Screenshots
with disabled prop
with disabled and required prop
Additional context
Version used:
fusion-react-textinput: 0.6.15
The text was updated successfully, but these errors were encountered: