Skip to content

Add datetime-local to the list of supported widgets #678

Description

@etamponi

Problem

<input type="datetime-local">

This is an HTML5 widget [0], fully supported by Bootstrap, but it is not listed as a supported widget. This causes some issues: for example, I can't use addon_after.

How to fix

Just adding "datetime-local" to FieldRenderer.is_form_control_widget seems to be enough to make it work.

[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions