Results 1 to 4 of 4

Thread: combobox from markup is sending displayed value instead of key value

  1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    17
    Vote Rating
    0
      0  

    Default combobox from markup is sending displayed value instead of key value

    Hello

    I'm made several comboboxes from markup with the transform config. But when sending the form the displayed value is sent instead of the key value. I can't figure out how to configure the combobox correctly:

    Code:
      
    <select name="Wert_Id2"  size="4" multiple="multiple" id="Wert_Id2"> 
    <option value="11317">Br....</option> 
    <option value="11311">FSued</option> 
    <option value="11315">GWest</option> 
    </select>
    <script type='text/javascript'>
       Ext.onReady(function(){
               var Wert_Id2 = Ext.create('Ext.form.field.ComboBox', {
                  typeAhead: true,
                  transform: 'Wert_Id2',
                  width: 300,
                  multiSelect: true,
                  forceSelection: true
               });
         });
    </script>
    Thank you very much for your help

    Best regards
    Herbie

  2. #2
    Sencha User
    Join Date
    Oct 2010
    Posts
    17
    Vote Rating
    0
      0  

    Default unresolved is a bug

    Found a similar post http://www.sencha.com/forum/showthre...not-right-data. Seems to be a bug :-(

  3. #3
    Sencha User lucasguaru's Avatar
    Join Date
    May 2011
    Location
    Guaruj, Brazil
    Posts
    77
    Answers
    9
    Vote Rating
    2
      0  

    Default

    Did you try using the name for your combo?
    I had the same problem and fixed ti but I'm not sure if that was the problem.

  4. #4
    Sencha User
    Join Date
    Oct 2010
    Posts
    17
    Vote Rating
    0
      0  

    Default

    Do yo mean the 'name' config option?

Posting Permissions

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