mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 17:22:20 -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;
|
||||
if (componentWrapper instanceof LoadingComponentWrapper) {
|
||||
componentWrapper.component.ariaLabel = formComponent.title;
|
||||
let containedComponent = componentWrapper.component as any;
|
||||
if (containedComponent.required) {
|
||||
componentWrapper.required = containedComponent.required;
|
||||
}
|
||||
}
|
||||
}
|
||||
let actions: string[] = undefined;
|
||||
|
||||
Reference in New Issue
Block a user