Skip to content

Question: How to validate a @row_action or @action with form attribute? #444

@hasansezertasan

Description

@hasansezertasan

As I said in #440, I'm using row_actions to create child-models. I have constructed the @row_action with the form parameter and some of the inputs are required and some of them have attributes like min=2023. When I click the Yes, Proceed button, the form is submitted without satisfying the form requirements, let's say leaving an input empty even if it is required, the modal just disappears without validating the form.

Environment (please complete the following information):

  • Starlette-Admin version: [e.g. 0.12.2]
  • ORM/ODMs: [SQLAlchemy]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions