Results 1 to 4 of 4

Thread: Change Text of the SelectField Button Done

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    0
      0  

    Default Answered: Change Text of the SelectField Button Done

    Hi,
    How do I change the text of "DonE" button of the selectfield Sencha touch 2?

    Thanks much!

  2. Just like this:

    Code:
    new Ext.form.Panel({
        fullscreen : true,
        items      : [
            {
                xtype                    : 'selectfield',
                label                    : 'Test',
                defaultPhonePickerConfig : {
                    doneButton : 'You Changed!'
                },
                options                  : [
                    { text : 'First Option',  value : 'first'  },
                    { text : 'Second Option', value : 'second' },
                    { text : 'Third Option',  value : 'third'  }
                ]
            }
        ]
    });

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    503
      0  

    Default

    Moved thread to ST forums.

    Scott.

  4. #3
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Answers
    3976
    Vote Rating
    1390
      0  

    Default

    Just like this:

    Code:
    new Ext.form.Panel({
        fullscreen : true,
        items      : [
            {
                xtype                    : 'selectfield',
                label                    : 'Test',
                defaultPhonePickerConfig : {
                    doneButton : 'You Changed!'
                },
                options                  : [
                    { text : 'First Option',  value : 'first'  },
                    { text : 'Second Option', value : 'second' },
                    { text : 'Third Option',  value : 'third'  }
                ]
            }
        ]
    });
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  5. #4
    Sencha User
    Join Date
    May 2012
    Posts
    8
    Vote Rating
    0
      0  

    Default

    That works!! Thanks much

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
  •