[Fixed] Cannot add a component in a repaeating panel. form

I work on an app that contains many tables, forms and repeating panels. All was working fine.

Suddenlly I couldn’t enter a component in a repeating panel.
After some time, and in order to see if it is linked with my app, I’ve created a new app, with only form1.
I added a simple label, It works fine.
Below I added a simple repeating panel.
I clicked on the Form1.ItemTemplate1.
When I drag ANY component onto that item, nothing happens and I see the following message in the 'designer output:

  • [An internal error has occurred] - see browser console for more details
  • TypeError: Cannot read properties of undefined (reading 'anvil$hooks') at https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=8eaabd779c42c517c69b:26:63916 at Generator.next (<anonymous>) at O (https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=8eaabd779c42c517c69b:26:55542) at a (https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=8eaabd779c42c517c69b:26:55745) at https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=8eaabd779c42c517c69b:26:55804 at new Promise (<anonymous>) at https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=8eaabd779c42c517c69b:26:55685 at J (https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=8eaabd779c42c517c69b:26:63782) at https://anvil.works/runtime-new/runtime/dist/designer2.bundle.js?sha=8eaabd779c42c517c69b:26:66095 at Generator.next (<anonymous>)

paste your code between ```

No code was enterred, the app contains only 1 form, 1 label, 1 repeating panel.

I’m really stucked and need help.
Is it a bug ? Do others experience it now ?
Thanks !

This does seem to be a new bug. I had a student run into it today, and I verified with a new app that it’s happening. If I refresh the IDE I can then add to the repeating panel.

2 Likes

I got this error a few times this afternoon too. Refreshed the page and it was good again.

Thanks for reporting. We’ll get that fixed.

1 Like

This should now be fixed - please let us know if you still see the problem after refreshing the Anvil Editor!

2 Likes

It’s working fine now !
Thank you very much for the quick fix, an I use this opportunity to thank you for the wonderful work your team is performing. Anvil is a very efficient and pleasant tool to use !
Jmarc, France.

1 Like