jQuery UI Widgets Forums Form Caption dropDownList on form

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 5 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Caption dropDownList on form #103575


    Hello !
    I have a form with a dropDownList.
    Something like that :

            bind: 'state',
            type: 'option',
            label: 'State',
            required: true,
            labelWidth: '85px',
            width: '250px',
            component: 'jqxDropDownList',
            options: [
              { value: 'California' },
              { value: 'New York'},
              { value: 'Oregon'},
              { value: 'Illinois'},
              { value: 'Texas'}

    but i don’t want to display california in my dropdown list but i want to display his caption : ‘Californie’ for example.
    it is possible ? to have a caption for a value in dropDownList ?
    Save ‘California’ in my json but display ‘Californie’ on my form.

    Thanks a lot for your help

    Caption dropDownList on form #103586


    Hello mathod,

    Please, take a look at this example.

    Best Regards,
    Hristo Hristov

    jQWidgets team

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.