Thank you for reporting this bug. We will make it our priority to review this report.
Issue with HtmlEditor binding config
Issue with HtmlEditor binding config
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?
Issue with HtmlEditor binding config
Aucun commentaire:
Enregistrer un commentaire