Replies: 1 comment 4 replies
-
|
you'll have to make it the master branch and ping me when you've done that so I can re-clone it. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I was reviewing the input_helpers.py file to see what I could use to automate my validation and notice repeating panels is not a form of input.
I am attempting to add it here (Not sure if the test branch will be in the clone) :
https://anvil.works/build#clone:6MCKBCN52M4PVMXY=I3MIZPOCFAPXV4HNTKY2YTMZ
I added it to the input_helpers.py:
Ideally this would allow me to add a schema check like so:
I know I could add an individual schema to the repeating panel row, but how would that get aggregated and checked by the over all validator? Or would I just need set every row's validator to the same submit button?
There I get is in the Validtor.py trying to set the event of the repeating_panel (It does not have the change event). This issue is there isn't exactly an event that exist when the items update at the repeating panel level. Would I need to create a custom event thats fired when a repeating panel row's data bindings are refreshed?
Beta Was this translation helpful? Give feedback.
All reactions