Skip to content

Keeping values in browsable api on error #3024

Closed
@ashleyredzko

Description

@ashleyredzko

Values entered in the browsable api list view html form are currently cleared on an error. This means that a user would have to re-enter the entirety of what they put in before. Instead, the values should be kept so the user can remedy the incorrect fields and keep what they have already entered.

Steps to reproduce:

  1. Navigate to browsable api list view page.
  2. Enter some values into the html form fields, but leave some empty or invalid.
  3. Post the form.
  4. Error is produced.

This also occurs on detail view even though the form is already prefilled with information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions