Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference to input through AutoField #1372

Open
mariusrak opened this issue Oct 19, 2024 · 1 comment
Open

Reference to input through AutoField #1372

mariusrak opened this issue Oct 19, 2024 · 1 comment
Assignees
Labels
Type: Question Questions and other discussions

Comments

@mariusrak
Copy link
Contributor

Hi, is it possible to get reference to an input which is in some field that is rendered by <AutoField /> ? The auto field is created by createAutoField but both inputRef nor ref doesn't work.
Thanks

@piotrpospiech
Copy link
Collaborator

Hi @mariusrak, thanks for reaching us!

inputRef can be used to pass ref to the field. You can pass it via schema using uniforms property or just as a prop to AutoField component.

As it didn't work for you, can you send me more details of your code? Simple reproduction and package versions will be very helpful as well.

@piotrpospiech piotrpospiech self-assigned this Oct 23, 2024
@piotrpospiech piotrpospiech added the Type: Question Questions and other discussions label Oct 23, 2024
@github-project-automation github-project-automation bot moved this to Needs triage in Open Source Oct 23, 2024
@piotrpospiech piotrpospiech moved this from Needs triage to In progress in Open Source Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Questions and other discussions
Projects
Status: In progress
Development

No branches or pull requests

2 participants