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'd like to use native Constraint validation and be able to call checkValidity and reportValidity methods on individual inputs.
For that I need to access native elements like input , textarea and so on.
Using a ref attribute on a react-mdc-web element doesn't work as it points to react-mdc-web component and ref attribute is not being passed further using { ...otherProps } (I recall this is a react constraint).
What about adding special attribute that will translate to ref on native element, like so:
I'd like to use native Constraint validation and be able to call
checkValidity
andreportValidity
methods on individual inputs.For that I need to access native elements like
input
,textarea
and so on.Using a
ref
attribute on a react-mdc-web element doesn't work as it points to react-mdc-web component and ref attribute is not being passed further using{ ...otherProps }
(I recall this is a react constraint).What about adding special attribute that will translate to
ref
on native element, like so:implementation in Textfield/Input.js could be
The text was updated successfully, but these errors were encountered: