PDA

View Full Version : [OPEN] Modern textfield two-way binding on value does not seem to work



Sakafo
14 May 2015, 11:53 AM
I have configured my modern application to match the following example by Saki:

http://extjs.eu/example-complex-data-binding-5/

Everything works successfully, EXCEPT my input fields (text, textarea, select), which never seem to trigger the bindings. They load with the appropriate data when I select a record from my grid, but changing their value doesn't affect the viewmodel's data. The only way I can make it work is by listening to the textfield's input event and manually change the viewmodel's data, which defeats the purpose of binding.

Is this a known bug or am I just daft? Is there a work around (other than manually changing the viewmodel's data... ) ?

Also, is there a fiddle for Extjs 6 Modern available? I can supply a test case if needed.

Gary Schlosberg
15 May 2015, 4:24 AM
Thanks for the report. We're tracking this issue as EXTJS-17758.