t-if=""
generates invalid javascript when compiling the template
#1634
Labels
enhancement
New feature or request
t-if=""
generates code which is not valid javascript.it generates code which looks like
It crashes when owl tries to compile the code
Error: Failed to compile template "Root": Unexpected token ')'
The error message isn't very helpful to debug/fix the xml template, especially if the template is quite large and the generated code is also big.
👉 Playground
The text was updated successfully, but these errors were encountered: