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
There are mentioned two ways. I understand, that using the AutoField.componentDetectorContext is one of them. But what is second one? is it the deprecated version <AutoForm {...props} autoField={CustomAutoField} />; ?
Because docs says that there are two standard ways, but deprecated way should not be considered standard (I think).
And if the "context" way is preffered one, it could be shown in the example directly.
Thanks for clarification
The text was updated successfully, but these errors were encountered:
Hi,
I'm not sure how to understand
CustomAutoField
here: https://uniforms.tools/docs/examples-custom-fields/#customautofieldThere are mentioned two ways. I understand, that using the AutoField.componentDetectorContext is one of them. But what is second one? is it the deprecated version
<AutoForm {...props} autoField={CustomAutoField} />;
?Because docs says that there are two standard ways, but deprecated way should not be considered standard (I think).
And if the "context" way is preffered one, it could be shown in the example directly.
Thanks for clarification
The text was updated successfully, but these errors were encountered: