Skip to content

Adding field_type breaks default.form #36

@sergei-maertens

Description

@sergei-maertens

In version 1.0.12 field_type was added to the fields variables available in the template. This breaks the *input widgets, as before this value was empty and caught by the 'default' filter (in case of a TextInput).

The html now shows

<input type="CharField">

I suggest renaming 'field_type' in default.form to 'input_type'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions