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

Docs: Example for updateField in the storybook #124

Open
pgangwani opened this issue Apr 15, 2024 · 0 comments
Open

Docs: Example for updateField in the storybook #124

pgangwani opened this issue Apr 15, 2024 · 0 comments

Comments

@pgangwani
Copy link

Is your feature request related to a problem? Please describe.
I am finding some what difficult to clearly use updateField for the form-atom where we need to omit a field which is not showing in render. this is due to other field selected, which makes this field not to be sent.

Describe the solution you'd like
I would like to get updateField example for below usecases:

  1. Updating validation function whether it is required or not
  2. In case hiding the field based on some other field, optional to be added and field should be cleared.

Describe alternatives you've considered
I am using derived atom based on multiple atom to recreate form atom but based on selection I cannot call derived atom.

Additional context
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant