Select #1273
-
We are facing these two issue with data driven forms. Can you please check if we are missing anything here and how can we resolve these :
This is the schema we are using :
Following are the FormRenderer and validate snippets :
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
@narangradhika24 Hi there. What component do you use? Usually when cross field values/validations are not updated is because the proper subscription is not set up. You can read more about them here: https://data-driven-forms.org/components/renderer#heading-subscription#subscription Try adding this prop to the renderer
EDIT:
What do you mean when you say reload the page? Is it a hard browser refresh? Or do you leave the page and return back? The load options in our mappers are cached to prevent unnecessary async calls. But they will always trigger on the first form mount. So to me, it seems as if the form was not properly unmounted but only hidden. Can that be the case? |
Beta Was this translation helpful? Give feedback.
-
The issue was with the schema and how the async validators were defined. The conversation was resolved on discord. No 🐛 was found. |
Beta Was this translation helpful? Give feedback.
The issue was with the schema and how the async validators were defined. The conversation was resolved on discord. No 🐛 was found.