Results 1 to 3 of 3

Thread: How to use allowblank property on combobox ?

  1. #1
    Sencha User
    Join Date
    Oct 2010
    Location
    India
    Posts
    84
    Vote Rating
    0
      0  

    Default How to use allowblank property on combobox ?

    I am using combobox and th user needs to select the value from the combobox .When user selects combobox value only then the form submit button should be enabled and the user can proceed further. I am also using allowblank property but its not working.
    Can anyone help me out ??

  2. #2
    Ext JS Premium Member griffiti93's Avatar
    Join Date
    Mar 2007
    Location
    Owasso, OK
    Posts
    130
    Vote Rating
    0
      0  

    Default

    Be sure you set "allowBlank: true." Set the button's default config to "disabled: true." Then wire up to the combobox "change" event. In your event handler, set the button.enable();

  3. #3
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    133
      0  

    Default

    - Configure the combobox with allowBlank:false.
    - Configure the form with monitorValid:true.
    - Configure the submit button with formBind:true.
    (only works if the submit button is actually a button (fbar) of the form)

Similar Threads

  1. changing the allowblank property of a combobox
    By flamant in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 26 Nov 2010, 5:24 AM
  2. Grid Columns property allowBlank: false question
    By bryanevil in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 14 Jul 2010, 11:08 PM
  3. combobox does not honor allowBlank
    By wisecounselor in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 6 Dec 2007, 11:04 AM
  4. Combobox isValid emptyText allowblank
    By galdaka in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 4 Jul 2007, 12:54 PM

Posting Permissions

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