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