Replies: 3 comments 12 replies
-
Yeah, we definitely want to support that directive - can you submit a failing test as a PR and we can look into fixing it? Thanks! |
Beta Was this translation helpful? Give feedback.
-
I can't use Alpine in non CSP version Who can when it needs unsafe-eval? Anyway... x-model works unless nested? Works:
Does not work:
Is this expected? Thx... |
Beta Was this translation helpful? Give feedback.
-
I have encountered the same problem while building a complex form. It looks like Alpine can't be used in this situation if you require CSP and maintainability. The solution is worse than using vanilla JS. I ended up loading Preact on this particular page for now until Alpine comes with a solution. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, the
x-model
directive does not work in the CSP build. I've seen a closed PR that fixes the problem. Are there any plans to start supporting this directive?Beta Was this translation helpful? Give feedback.
All reactions