Error: ExternalError: SyntaxError: Unexpected token ';' at Form1, line 10
(there are no semicolons anywhere in the app)
https://anvil.works/build#clone:HO4BCOPJPAIHXBO5=5XNINH6RDK4W46IYON6BPT46
I was trying to implement the decorator form for Force show spinner (opposite of anvil.server.no_loading_indicator) and got this error with no obvious solution. Would appreciate feedback!
1 Like
unfortunately this was a problem in the compile code which didn’t like the use of the word function
if you change that name it works for me.
And nice clean code!
worth noting that functools
is not available client side so you won’t be able to use that library here.
Ah thanks! Will test this now, also that’s a yikes on the functools but it’s not entirely necessary (just nicer)
1 Like
yeah functools would be great in the browser - you could add this to a feature request - I don’t think there is currently a specific feature request for that module.