useCollectScope get all validators without knowing namespaces
#261
Unanswered
dms449
asked this question in
Help and questions
Replies: 1 comment 4 replies
-
|
Hey! Do you have an exemple? You mean you want to collect all usages of |
Beta Was this translation helpful? Give feedback.
4 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.
-
I have many validators in a scope and they are namespaced by a Group ( I'm using JSON forms ) so that I can show how many are valid ( or invalid ) in each group. I still want a top level
useCollectScopethough, to run $validate before saving and it needs to get all of the scopes regardless of the namespacing but it also doesn't have access to the namespaces so i can't just ask for all of them likeuseCollectScope([ns1, ns2, .... ]).I assumed that just running it empty, like,
useCollectScope()would get all of the validators but it doesn't. So should I make a feature request or redesign my code?Beta Was this translation helpful? Give feedback.
All reactions