Results 1 to 3 of 3

Thread: [2.0b1/rc1] 'Value' config of Ext.form.radio doesn't work.

  1. #1

    Exclamation [2.0b1/rc1] 'Value' config of Ext.form.radio doesn't work.

    Hi guys,

    Not sure if this has been reported or not. I'm using dynamic created radio buttons. But after setting the 'value' config for radio buttons, it doesn't generate the corresponding 'value' parameter in the input tag in HTML.

    I also checked the post values of the form containing those radio buttons, I found the values are always 'on'. I assume this is a bug because Ext.form.radio extends from Ext.form.checkbox, and checkbox always gives this kind of 'on' string as output.

    My current workaround is to created another hidden field, and hijack the onClick event of each radio button to modify that value though.

  2. #2
    Sencha Premium User
    Join Date
    Apr 2007
    Location
    Germany, Luebeck
    Posts
    21

    Default inputValue

    Have you already tried to use the parameter 'inputValue' instead of 'value'?

  3. #3

    Default

    Ahh...inputValue works. But I cannot find 'inputValue' anywhere in the document?

    BTW, thanks anyway.

Posting Permissions

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