Skip to content

Script won't save in Chrome or Firefox #6

@sheaC42

Description

@sheaC42

It seems there is a hidden field that has the required attribute and so Chrome and Firefox think the form is not completely filled in and will not send the POST request to save it.

I fixed this issue in my own Django project by adding the line

ScriptAdmin.form.use_required_attribute = False

in my admin.py so that is potentially a fix for this issue though maybe there is a better solution. Adding this line still makes the Name and Source fields required so this doesn't change any functionality.

screen shot 2017-02-02 at 12 15 07

screen shot 2017-02-02 at 12 14 22

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