-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
contenteditable is not 2-way-bound #356
Comments
Here’s a slightly more simple example that doesn’t use a DefineList or #each: https://jsbin.com/wihobujere/1/edit?js,console,output |
After some discussion on the Gitter channel we've discovered that the presence of jQuery in the example JSBins is the thing causing this breakage. When jQuery is removed, the correct 2-way binding behavior happens. Why jQuery causes this, is as yet unknown |
really strange... |
maybe this is the right solution. here are some examples: typeahead: @phillipskevin is there a way to add some syntactic suger for the cotentedtiable element. or is the better way to create a custom element with that logic (e.g. typeahead with range-selection) |
@pYr0x I can't quite remember what we talked about, but for this example:
did you not want to use this instead?
|
Did something change around the |
this example shows two
each
loops.first one with a
contenteditable
div
second one with a standard
input
fieldhttp://jsbin.com/zuxececoce/1/edit?js,console,output
the first editable
div
is not working, while the standard input field is working live expectedcc @phillipskevin
The text was updated successfully, but these errors were encountered: