Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Type Month #309

Open
matiasgatti opened this issue Jun 28, 2022 · 1 comment
Open

Support for Type Month #309

matiasgatti opened this issue Jun 28, 2022 · 1 comment

Comments

@matiasgatti
Copy link

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)
@dyve
Copy link
Member

dyve commented Aug 10, 2024

Note to self: check the status of Django datetime (month) widgets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants