Results 1 to 2 of 2

Thread: Extreact 6 checkbox “checked” value prevent true

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    3

    Default Extreact 6 checkbox “checked” value prevent true

    Toying with Extreact and I have a checkbox on my page that I want to have control over it's checked state. For example I want to set the checked value inside my state and be able to check or uncheck that input without clicking on it.


    The problem is that `CheckboxField` only has a `checked` prop that refers to the initial state so it's pretty useless afterwards.

  2. #2

    Join Date
    Aug 2013
    Location
    Paris
    Posts
    13
    Answers
    1

    Default

    It is probably an error in the documentation, but the `checked` property can be used after initialization to change checked state.

    You can also change it with the `setChecked` method available on the component.

Similar Threads

  1. Replies: 3
    Last Post: 25 Apr 2018, 11:25 PM
  2. Replies: 2
    Last Post: 25 Aug 2017, 3:17 AM
  3. Is there a way to prevent changing a checkbox value?
    By szimek in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 22 Jan 2013, 6:50 AM
  4. Replies: 5
    Last Post: 5 Oct 2011, 12:40 AM

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
  •