There is a small bug in web2py's HTML checkbox helper:
>>> from gluon.html import *
>>> print INPUT(_type='radio', _value=2, value='2'])
>>> print INPUT(_type='checkbox', _value=2, value=['1', '2', '3'])
>>> print INPUT(_type='checkbox', _value='2', value=['1', '2', '3'])
It's just a missin
There is a small bug in web2py's HTML checkbox helper:
from gluon.html import *
print INPUT(_type='radio', _value=2, value='2'])
>>>
print INPUT(_type='checkbox', _value=2, value=['1', '2', '3'])
>>>
print INPUT(_type='checkbox', _value='2', value=['1', '2', '3'])
>>>
It's just a missing st
2 matches
Mail list logo