View Full Version : triggerfield emptytext styling not replaced on reset()

30 Dec 2011, 3:06 PM
I noticed that if I focus (enter text or not) in a trigger field then reset() the field (using this.reset() in the onTriggerClick method) the empty text from the config is placed in the field, but the x-form-empty-field class is not applied until after I manually click elsewhere in the app to further blur the field.

Should the x-form-empty-field class be applied since the input field is not itself focused after the reset()?

31 Dec 2011, 9:10 AM
If the original value is undefined then it should be I would think.