Hi,
I’m trying to run a clone of this Form Builder example that is in the Show and Tell section.
I’ve built a Form Builder to automate creation and validation of forms for CRUD operation.
Link to app: Anvil | Login
Structure:
schemas: using Zod library validation (thanks, @stucork ), create a data validation model
form_config: create a form configuration to tell how’s the form look and feel. It’s a list with the rows of the form. If a row have more than one field, put these fields inside another list.
form_config example:
[
{"key": "name", "type": "text", "label": "Name"},
…
It loads in the editor without any warnings or errors, but when I hit run it immediately gives an error:
I checked the Dependencies in the configuration and found:
Could anyone please confirm if this is a problem with the application? and in that case suggest a way of making it work.
Thank you very much!!
Warm regards
Ricardo
It’s anvil_extras package. Don’t know why app cloning doesn’t clone the package right.
Remove the dependency and add it again: C6ZZPAPN4YYF5NVJ
1 Like
Hi @movelabs
Great!
Now it works!
I think the problem could be related to the token, because the one that shows in the dependency once you clone the application it is not the current token for the anvil-extras.
Thank you very much!!