SoftwareBrothers / adminjs

AdminJS is an admin panel for apps written in node.js
https://adminjs.co
MIT License
8.15k stars 659 forks source link

[Bug]: isRequired doesn't work with reference property #1567

Open trangvu9 opened 11 months ago

trangvu9 commented 11 months ago

Contact Details

No response

What happened?

I'm trying to make a reference property to be required, but the user can still create/update the entity without selecting/setting that property.

Bug prevalence

persistent

AdminJS dependencies version

"adminjs": "6.1.1"

What browsers do you see the problem on?

Chrome, Safari

Relevant log output

No response

Relevant code that's giving you issues

No response