Hello, friends.


web2py is 2.4.5-stable+timestamp.2013.03.18.22.46.22

There is a small bug. 

**
*
class RadioWidget(OptionsWidget):
 #...
 def widget(cls, field, value, **attributes):
   #...
   checked = {'_checked': 'checked'} if k == value else {}
*

But *value *is a list. So *checked *is always empty 

Can be fixed same way as done in the CheckboxesWidget()

**
def widget(cls, field, value, **attributes):
  #...
  if isinstance(value, (list,tuple)):
    value = value[0] 
  else:
    value = str(value)





Thank you for your time
 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to