Merge pull request #2224 from timnyborg/patch-6
fix error block location in radio buttons
This commit is contained in:
+6
-1
@@ -461,7 +461,12 @@ class RadioWidget(OptionsWidget):
|
|||||||
opts.append(child(tds))
|
opts.append(child(tds))
|
||||||
|
|
||||||
if opts:
|
if opts:
|
||||||
opts[-1][0][0]['hideerror'] = False
|
opts.append(
|
||||||
|
INPUT(requires=attr.get('requires', None),
|
||||||
|
_style="display:none;",
|
||||||
|
_disabled="disabled",
|
||||||
|
_name=field.name,
|
||||||
|
hideerror=False))
|
||||||
return parent(*opts, **attr)
|
return parent(*opts, **attr)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user