Results 1 to 4 of 4

Thread: Combobox Problem

  1. #1
    Sencha User
    Join Date
    Sep 2009
    Posts
    44

    Default Combobox Problem

    Hi.

    I'm trying to achive the following without success:

    A combo box with two selectable values 'abc' and 'def'.
    It should not be possible to type any text into the input field.

    Sounds quite easy but all I tried wasn't successful.
    After I selected one of the two available values via dropdown it is no longer possible to select anything different as only this value is shown in the dropdown list and nothing else.

    I played around with all the different config options but nothing seems to work.

    Thanks a lot for your help.

    Regards,
    grubi.

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    add the following:

    Code:
    editable : false,
    triggerAction : 'all'

  3. #3
    Sencha User
    Join Date
    Sep 2009
    Posts
    44

    Default

    Quote Originally Posted by [email protected] View Post
    add the following:

    Code:
    triggerAction : 'all'
    That did the trick.
    I really tried a lot but while reading throu the API docs I did not see any relation of this option to the problem I had. I think it's getting clearer now.

    Thanks a lot.

  4. #4
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    editable, to me makes sense. triggerAction doesn't make sense if you don't know that the arrow is a 'trigger'.

Posting Permissions

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