Skip to content

[Bug]: Relation custom validation error #1759

@xitrumIT

Description

@xitrumIT

Contact Details

No response

What happened?

I am using adminjs for my project, but when using the relation between tables together, it works, but how can I customize the error in this relation modal? In the example, I am assigning a task that this user does not have permission for.
My wish is to be able to customize Error to make it more meaningful.

Image

Bug prevalence

Add existing item relation

AdminJS dependencies version

"@adminjs/relations": "^1.1.2",
"adminjs": "^7.7.2",

What browsers do you see the problem on?

No response

Relevant log output

Relevant code that's giving you issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions