feat(payload, ui): add admin.allowEdit relationship field (#8398)
This PR adds a new property `allowEdit` to the admin of the relationship field. It is very similar to the existing `allowCreate`, only in this case it hides the edit icon: <img width="796" alt="image" src="https://github.com/user-attachments/assets/bbe79bb2-db06-4ec4-b023-2f1c53330fcb">
This commit is contained in:
@@ -1140,6 +1140,8 @@ export interface RelationshipField {
|
||||
| null;
|
||||
relationToSelf?: (string | null) | RelationshipField;
|
||||
relationToSelfSelectOnly?: (string | null) | RelationshipField;
|
||||
relationWithAllowCreateToFalse?: (string | null) | User;
|
||||
relationWithAllowEditToFalse?: (string | null) | User;
|
||||
relationWithDynamicDefault?: (string | null) | User;
|
||||
relationHasManyWithDynamicDefault?: {
|
||||
relationTo: 'users';
|
||||
|
||||
Reference in New Issue
Block a user