-
23 May 2012 1:45 AM #1
setRawValue doesn't work with checkbox
setRawValue doesn't work with checkbox
Hi,
I want to chek/uncheck a checkbox without firing event, so I use setRawValue.
It doesn't work cause setRawValue use this.el.dom.value and not this.el.dom.checked.
-
24 May 2012 3:16 AM #2
Hi Trey,
As you know, setRawValue is related with the html inputs values only. (If it is rendered, this method is setting the only its html value).
If you do not want to fire the 'check' event, you should set the "html checked value" as you mentioned.
But I am just wondering about "Why you do not want to fire check event, even if it is checked?" Sorry for asking this, I do not want to judge you as asking, I just want to help you, If you provide what are you trying to do may be I can help.
Thx.sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
-
24 May 2012 4:07 AM #3
Hi sword-it,
thanks for your response, I'll use dom.checked so.
I don't want to fire checked events, because it's in a function which "disabled" and "clear" fields, I don't want any other else listeners functions to be called.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote