Merge pull request #2224 from timnyborg/patch-6

fix error block location in radio buttons
This commit is contained in:
mdipierro
2019-12-24 06:48:19 -08:00
committed by GitHub
+6 -1
View File
@@ -461,7 +461,12 @@ class RadioWidget(OptionsWidget):
opts.append(child(tds))
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)