Skip to content

Errors when returns forms #262

@Hamito51

Description

@Hamito51

There are several problems with forms.

  1. The first issue takes place, when I want to update existing object. For example, I want to update field in our forms. I have emailField, but I put in the field something different. When I click save, there is no validation error "Enter a valid email address." I get template error with key error.
  2. The same thing happens while I tried to create new object, but don't include some field in "inline_reverse" fields. I can see error "This field is required" but only via debug in _errors method. In the browser I get same template with key error.
  3. I have several OneToOneFields, I make mistake with filling fields, like in first example, I mistake with emailField format, I successfully get validation error and browser suggest me to edit this field, but if other fields(from another OneToOne form) were empty I won't get this forms to fill

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