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
Hey there @lamualfa, it seems like you can avoid this issue by adding the marginBottom to the wrapper div, as opposed to the TextInput itself. Hope that helps!
Hey there @lamualfa, it seems like you can avoid this issue by adding the marginBottom to the wrapper div, as opposed to the TextInput itself. Hope that helps!
Absolutely yes. I think in future, the use of marginBottom in Storybook Example must be replaced with the use of marginBottom in wrapper.
What package(s) are you using?
carbon-components-react
Detailed description
The Invalid Indicator of TextInput component will out of the
TextInput
whenmarginBottom
was set.Why i use
marginBottom
to give a gap between two form?I don't know. I just follow Carbon React Storybook Sample. This is the link.
Steps to reproduce the issue
TextInput
component.invalid
&invalidText
props ofTextInput
component.marginBottom
toTextInput
component.React:
https://codesandbox.io/s/wispy-rain-hdpfu?file=/index.js
Additional information
The text was updated successfully, but these errors were encountered: