Replies: 4 comments 1 reply
-
@akhan619 I ran into the same issue. Do the changes from this pr fix the issues for you? |
Beta Was this translation helpful? Give feedback.
-
still an issue in current |
Beta Was this translation helpful? Give feedback.
-
Was are also not able to make the CSP build working with With
I get
A workaround is to do it without |
Beta Was this translation helpful? Give feedback.
-
Yes I just got the same. Like @ekwoka pointed out I fixed it by doing: <input x-bind:value="username" x-on:input="setUsername"> |
Beta Was this translation helpful? Give feedback.
-
Discussed in #1847
Originally posted by akhan619 July 25, 2021
#Summary
x-model is not reactive when used in the CSP build.
Test
I cloned the repo and did both
npm install && npm run build
. No issues there. From there included themodule.esm.js
from the csp folder in my app.js and set it up as followsTested it with the example in the documentation
This is not working. As a test used the normal build i.e. non-csp and everything works as expected. Side-note: Any initial value set for
message
does reflect in both the input and span. However, they aren't reactive.Questions
Any feedback is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions