You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File ".../venv/lib/python2.7/site-packages/wtforms/fields/core.py", line 149, in __call__
return self.meta.render_field(self, kwargs)
File ".../venv/lib/python2.7/site-packages/wtforms/meta.py", line 53, in render_field
return field.widget(field, **render_kw)
File ".../venv/lib/python2.7/site-packages/wtforms_components/widgets.py", line 74, in __call__
for key, value in self.range_validators(field).items():
File ".../venv/lib/python2.7/site-packages/wtforms_components/widgets.py", line 99, in range_validators
data['min'] = data['min'].strftime(self.format)
AttributeError: 'function' object has no attribute 'strftime'
Probably should be handeled similarly to validators.BaseDateTimeRange.__call__
As a workaround, I do
fromwtforms_components.widgetsimportBaseDateTimeInputBaseDateTimeInput.range_validator_class=int#any random class
The text was updated successfully, but these errors were encountered:
Probably should be handeled similarly to
validators.BaseDateTimeRange.__call__
As a workaround, I do
The text was updated successfully, but these errors were encountered: