Replies: 2 comments
-
Ohhhhhh okay. Took me a while to figure out what you're asking for here. You're looking for 2 way data binding. So what you need to do is add an event listener and then update the property via reassignment (or could use requestUpdate) Lit doesn't have anything built in for this like a Also, make sure to add |
Beta Was this translation helpful? Give feedback.
-
Indeed. I already understood this is beyond the capacity of Shoelace. So I had to create a custom |
Beta Was this translation helpful? Give feedback.
-
Initial and natural attempt based on my experience with all other frameworks I previously worked with:
How do I collect input values here?
Straightforward attempt with
FormData
also didn't work. It returns empty.There are no working examples at https://shoelace.style/getting-started/form-controls for this case either.
Using
.value="${...}"
instead ofvalue="${...}"
also didn't change anything.Beta Was this translation helpful? Give feedback.
All reactions