fix: hidden and disabled fields cause incorrect field paths (#9680)

This commit is contained in:
Jacob Fletcher
2024-12-03 21:22:28 -05:00
committed by GitHub
parent fce210b9b1
commit a53c1d5517
26 changed files with 303 additions and 51 deletions

View File

@@ -869,6 +869,9 @@ export interface BlockField {
export interface TextField {
id: string;
text: string;
hiddenTextField?: string | null;
adminHiddenTextField?: string | null;
disabledTextField?: string | null;
localizedText?: string | null;
i18nText?: string | null;
defaultString?: string | null;
@@ -3234,6 +3237,9 @@ export interface TabsFieldsSelect<T extends boolean = true> {
*/
export interface TextFieldsSelect<T extends boolean = true> {
text?: T;
hiddenTextField?: T;
adminHiddenTextField?: T;
disabledTextField?: T;
localizedText?: T;
i18nText?: T;
defaultString?: T;