-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
awaiting submitterneeds a reproduction, or clarificationneeds a reproduction, or clarificationcustom element
Description
Custom Elements (as in Web Components) cannot currently take advantage of two-way binding syntax.
For example, instead of this...
<custom-textbox
label="Email Address"
type="email"
placeholder="Enter your email address"
style="width: 300px"
bind:value="email" />
...I have to do this...
<custom-textbox
label="Email Address"
type="email"
placeholder="Enter your email address"
style="width: 300px"
value="{{email}}"
on:input="set({ email: event.target.value })" />
I think this is kind of a bummer. :-(
nxtwrld, tsulatsitamim, milkbump, xxdocobxx, noahfaust and 3 more
Metadata
Metadata
Assignees
Labels
awaiting submitterneeds a reproduction, or clarificationneeds a reproduction, or clarificationcustom element