Results 1 to 3 of 3

Thread: setRawValue doesn't work with checkbox

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2009
    Location
    Lille
    Posts
    18
    Vote Rating
    0
      0  

    Default 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.

  2. #2
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335
    Vote Rating
    90
      0  

    Default

    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.

  3. #3
    Sencha User
    Join Date
    Dec 2009
    Location
    Lille
    Posts
    18
    Vote Rating
    0
      0  

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •