I have been looking for a long time and I have no idea how to do it, do you have a simple solution to make a field mandatory in the action/new or edit pages ? Thanks
Asked
Active
Viewed 269 times
1 Answers
2
You need to add isRequired:true
to the field. See the document here
....
resource: YourResource,
options: {
properties: {
YourField : {isRequired: true}
}
}
....

Đăng Khoa Đinh
- 5,038
- 3
- 15
- 33