django-bootstrap5
django-bootstrap5 copied to clipboard
Support for Type Month
In file renderers.py . "month" can be included along with text, number, date. so Input Type Month is Float Supported.
I tried it and is working. "month" should be added to the this list:
[file: renderers.py] def is_form_control_widget(self, widget=None): widget = widget or self.widget if isinstance(widget, Input): return self.get_widget_input_type(widget) in [ "text", "number", "email", "url", "tel", "date", "month", <<<< ADDED "time", "password", ]
return isinstance(widget, Textarea)