Results 1 to 3 of 3

Thread: [6.7.0 classic] Checkbox setValue() does not work for 'trueish' strings

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jan 2016

    Default [6.7.0 classic] Checkbox setValue() does not work for 'trueish' strings

    According to the documentation:

    These values should be accepted in the checkbox:
    - true
    - 'true'
    - '1'
    - 'on'

    But only the first value in the list actually checks a checkbox field when provided. All others will uncheck it (or keep it unchecked).

    To reproduce it, just change lines 42-44 in the example usage fiddle to use the "claimed" string representation that would check it, and see how it doesn't when the "Select All" button is clicked in the fiddle.

    One fiddle based on that would be this:

    Now I'm not sure the docs should be updated, or Ext JS should be fixed to support that (again, maybe).

    At some point it seems it existed a setChecked() method as I could see by a thread here from about 2010 but well, that seems to be in the past.

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017


    Thank you so much for your post. I apologize for the delay. I have shared this with the support staff to look into at their earliest convenience. Your patience is greatly appreciated! We do suggest using the support portal when you need assistance with a capability of a Sencha product, you have identified a situation where a products behavior is inconsistent with the product documentation and might indicate a software bug, or when the communication between you and Sencha needs to be private.

    Thanks again,


  3. #3
    Ext Support Team
    Join Date
    Jan 2018


    Hello Fabricio,

    Try to comment the inputValue config and observe the behavior.Config "inputValue" overrides the possible values of checkbox(except the true or 'true').

    Sencha Support.

Tags for this Thread

Posting Permissions

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