PDA

View Full Version : how to change loading text?



extremed
25 Dec 2011, 9:02 AM
Hi

Im trying to apply loading mask to text field


this.up('form').down('#l_number').setLoading(true)

any idea how to change loading message to something else?

Regards

slemmon
25 Dec 2011, 4:16 PM
Try


this.up('form').down('#l_number').el.mask('New mask text...')

I can't remember if it's .el or .getEl()
Then the same with .unMask() to remove it.

extremed
25 Dec 2011, 8:34 PM
I got it working with



this.up('form').down('#l_number').setLoading({msg:"Searching...."});