mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Passing contained component required field to itemConfig (#10858)
This commit is contained in:
@@ -372,6 +372,10 @@ class FormContainerBuilder extends GenericContainerBuilder<azdata.FormContainer,
|
|||||||
componentWrapper.ariaLabel = formComponent.title;
|
componentWrapper.ariaLabel = formComponent.title;
|
||||||
if (componentWrapper instanceof LoadingComponentWrapper) {
|
if (componentWrapper instanceof LoadingComponentWrapper) {
|
||||||
componentWrapper.component.ariaLabel = formComponent.title;
|
componentWrapper.component.ariaLabel = formComponent.title;
|
||||||
|
let containedComponent = componentWrapper.component as any;
|
||||||
|
if (containedComponent.required) {
|
||||||
|
componentWrapper.required = containedComponent.required;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let actions: string[] = undefined;
|
let actions: string[] = undefined;
|
||||||
|
|||||||
Reference in New Issue
Block a user