I'm using Sencha ExtJS' two-way binding since 5.0. Everything else binds properly, except HtmlEditor. I found that it only works with bind: { value: {} }, instead of a shorthand bind config bind: {}.

See the example below. record is the object that I want to bind to. The code below works with bind.value. However it doesn't work with just bind: {} as what I expected to work just like other widgets.


xtype: 'htmleditor',

flex: 1,

width: '100%',

itemId: 'htmlField',

cls: 'email-editor-body-html',

bind: {

value: '{record.bodyHtml}'

},

//bind: '{record.bodyHtml}'


Is that a bug or by design?