Add group annotations to Attribute
This commit is contained in:
parent
b577cd9829
commit
9dca515a42
@ -591,6 +591,7 @@ export type Attribute = {
|
|||||||
value?: string;
|
value?: string;
|
||||||
values?: string[];
|
values?: string[];
|
||||||
group?: {
|
group?: {
|
||||||
|
annotations: Record<string, string>;
|
||||||
html5DataAnnotations: Record<string, string>;
|
html5DataAnnotations: Record<string, string>;
|
||||||
displayHeader?: string;
|
displayHeader?: string;
|
||||||
name: string;
|
name: string;
|
||||||
|
@ -227,7 +227,7 @@ export function useUserProfileForm(params: UseUserProfileFormParams): ReturnType
|
|||||||
break patch_legacy_group;
|
break patch_legacy_group;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { group, groupDisplayHeader, groupDisplayDescription /*, groupAnnotations*/ } = attribute as Attribute & {
|
const { group, groupDisplayHeader, groupDisplayDescription, groupAnnotations } = attribute as Attribute & {
|
||||||
group: string;
|
group: string;
|
||||||
groupDisplayHeader?: string;
|
groupDisplayHeader?: string;
|
||||||
groupDisplayDescription?: string;
|
groupDisplayDescription?: string;
|
||||||
@ -250,6 +250,7 @@ export function useUserProfileForm(params: UseUserProfileFormParams): ReturnType
|
|||||||
name: group,
|
name: group,
|
||||||
displayHeader: groupDisplayHeader,
|
displayHeader: groupDisplayHeader,
|
||||||
displayDescription: groupDisplayDescription,
|
displayDescription: groupDisplayDescription,
|
||||||
|
annotations: groupAnnotations,
|
||||||
html5DataAnnotations: {}
|
html5DataAnnotations: {}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user