Results 1 to 2 of 2

Thread: formBind button enable/disable with hide/show field doesn't work

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2008
    Location
    France
    Posts
    321

    Default formBind button enable/disable with hide/show field doesn't work

    Hello,

    I've a form.
    I've a radiogroup in this form.
    When checking some options, a textfield is showing and must be filled.
    When checking some other options, the textfield is hiding and must not be filled.
    In the same time, a button has a formBind property set to true.

    But the enable/disable state of the button is not changing in the right way depending on the radiogroup option check, after multiple check.

    Here is the fiddle to play the test : https://fiddle.sencha.com/#view/editor&fiddle/2k42
    You will see that the state of the button stay enabled or disabled after checking the options in different order.

  2. #2
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    569

    Default

    Hello, hope you are doing well.

    The issue occurs as you are changing the allowBlank property but not validating it. Validate your textfield again.

    Updated your fiddle
    https://fiddle.sencha.com/#view/editor&fiddle/2k42

    Regards,
    Kumar
    Sencha Support.

Similar Threads

  1. Replies: 1
    Last Post: 30 Sep 2013, 8:13 AM
  2. Button show/hide doesn't work until screen tap
    By Matt_d in forum Sencha Touch 2.x: Q&A
    Replies: 4
    Last Post: 29 Nov 2012, 3:47 PM
  3. Replies: 1
    Last Post: 10 Oct 2012, 8:54 PM
  4. Replies: 1
    Last Post: 15 Jun 2012, 5:28 AM
  5. Getting Button by id doesn't have enable/disable method
    By geewhizbang in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 11 Aug 2009, 10:43 AM

Posting Permissions

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