User doesn't know if dependsOn request is being run for a field #6188
Unanswered
rzuloaga
asked this question in
Ideas & Feature Requests
Replies: 0 comments
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.
-
Description:
dependsOnwith another field B, we can make field A change using the value of field B.What happens then, is that while we're writing a new value of A, the request is finally processed and the field value of A changes, erasing the input:
Gravacio.de.pantalla.2023-11-28.a.les.13.54.52.mov
Our proposal is that we use an icon such a the next one to indicate that the value is being calculated and is waiting for a response from the BE. Nowadays there is no warning in this sense.
In case this is not possible to do for every field, at least it would be good for you to add an event that is triggered when the request is made, in
nova/resources/js/mixins/DependentFormField.js:The same way you're doing it now with
onSyncedField:This way we could implement whatever functionality we need whenever the request is made.
Detailed steps to reproduce the issue on a fresh Nova installation:
Have a field A depend on a field B. Then change value of B, and change value of A before the request has received a response.
Beta Was this translation helpful? Give feedback.
All reactions