dynamic required on load #8682
Unanswered
travisboss
asked this question in
General
Replies: 1 comment
-
Wanted to add it looks like watch offers Our current call is: useEffect(() => {
if (!isEligibilityLoading) {
fetchData();
getStates();
}
return() => {
controller.abort();
statesController.abort();
};
}, [isEligibilityLoading]); Would I just create another |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Looking on how to get this function to check at page load
What is happening is if a user makes a specific selection on
SelectField
they get a required on aTextField
, however if the data back from the api in the SelectField` is one that is required the input does not update to keep the field required, it simply goes back to optional no matter the value. But if a user makes a change to any field it will update is requested.Beta Was this translation helpful? Give feedback.
All reactions