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've spotted #1439 so its clear there isn't a dedicated solution for form fields at the moment.
What I'm asking here is what combination of existing components in Bits would you recommend for showing form validations next to my handcrafted inputs?
One approach I am considering is using the <Popover> component, but I noticed that trying to hook this into the <input> handlers (onfocus / onblur) so that validation would render on focus is tricky because, even if you disable the focus trap.
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
Uh oh!
There was an error while loading. Please reload this page.
-
I've spotted #1439 so its clear there isn't a dedicated solution for form fields at the moment.
What I'm asking here is what combination of existing components in Bits would you recommend for showing form validations next to my handcrafted inputs?
One approach I am considering is using the
<Popover>component, but I noticed that trying to hook this into the<input>handlers (onfocus/onblur) so that validation would render on focus is tricky because, even if you disable the focus trap.Beta Was this translation helpful? Give feedback.
All reactions