django-bootstrap5 icon indicating copy to clipboard operation
django-bootstrap5 copied to clipboard

Support for Type Month

Open matiasgatti opened this issue 2 years ago • 1 comments

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)

matiasgatti avatar Jun 28 '22 01:06 matiasgatti