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
I'm trying to test my component with <input>, that can be set to disabled state by a prop. However, when the prop is set, and attribute disabled is added to tag, setValue still works. Is it correct behaviour?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to test my component with
<input>,
that can be set to disabled state by a prop. However, when the prop is set, and attribute disabled is added to tag, setValue still works. Is it correct behaviour?The part of component code
The test code
The test result
Beta Was this translation helpful? Give feedback.
All reactions