Fallback to field metadata (#19131)
Rely on the field metadata items to always display all object's fields in the fields widget configuration editor. If fields are missing in the returned view fields, we add the missing fields through object metadata. https://github.com/user-attachments/assets/3c4d45e8-05d0-4943-be4b-bcf1e310155c
This commit is contained in:
committed by
GitHub
parent
5bbfce7789
commit
c11e4ece39
@@ -5514,10 +5514,12 @@ export type UpsertFieldPermissionsInput = {
|
||||
};
|
||||
|
||||
export type UpsertFieldsWidgetFieldInput = {
|
||||
/** The id of the field metadata. Used to create a new view field when viewFieldId is not provided. */
|
||||
fieldMetadataId?: InputMaybe<Scalars['UUID']>;
|
||||
isVisible: Scalars['Boolean'];
|
||||
position: Scalars['Float'];
|
||||
/** The id of the view field */
|
||||
viewFieldId: Scalars['UUID'];
|
||||
/** The id of the view field. Required if fieldMetadataId is not provided. */
|
||||
viewFieldId?: InputMaybe<Scalars['UUID']>;
|
||||
};
|
||||
|
||||
export type UpsertFieldsWidgetGroupInput = {
|
||||
|
||||
Reference in New Issue
Block a user