PDA

View Full Version : Trigger side in classic toolkit



infosvil
22 Jan 2020, 1:47 AM
I'm trying to add trigger in a textfield in classic toolkit extjs 7.0.
No property "side" exist (as modern toolkit) and can't see other way to do this.
I found undocumented property "postSubTpl". I must change this to do that?


field.setTriggers({ foo: {
cls: 'my-foo-trigger',
handler: function() {
console.log('foo trigger clicked');
}
}

});