Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export interface TreeSelectProps
labelTextSize?: TextSize;
labelStyle?: string;
labelTooltip?: string;
isRequired?: boolean;
compactMode: boolean;
dropDownWidth: number;
width: number;
Expand Down Expand Up @@ -122,6 +123,7 @@ function MultiTreeSelectComponent({
filterText,
isDynamicHeightEnabled,
isFilterable,
isRequired,
isValid,
labelAlignment,
labelPosition,
Expand Down Expand Up @@ -260,6 +262,7 @@ function MultiTreeSelectComponent({
fontSize={labelTextSize}
fontStyle={labelStyle}
helpText={labelTooltip}
isRequired={isRequired}
isDynamicHeightEnabled={isDynamicHeightEnabled}
loading={loading}
position={labelPosition}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ class MultiSelectTreeWidget extends BaseWidget<
expandAll={this.props.expandAll}
isDynamicHeightEnabled={isAutoHeightEnabledForWidget(this.props)}
isFilterable
isRequired={this.props.isRequired}
isValid={!isInvalid}
labelAlignment={this.props.labelAlignment}
labelPosition={this.props.labelPosition}
Expand Down
3 changes: 3 additions & 0 deletions app/client/src/widgets/MultiSelectWidget/component/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export interface MultiSelectProps
labelTextColor?: string;
labelTextSize?: TextSize;
labelStyle?: string;
isRequired?: boolean;
compactMode: boolean;
isValid: boolean;
allowSelectAll?: boolean;
Expand All @@ -73,6 +74,7 @@ function MultiSelectComponent({
dropDownWidth,
isDynamicHeightEnabled,
isValid,
isRequired,
labelAlignment,
labelPosition,
labelStyle,
Expand Down Expand Up @@ -202,6 +204,7 @@ function MultiSelectComponent({
disabled={disabled}
fontSize={labelTextSize}
fontStyle={labelStyle}
isRequired={isRequired}
isDynamicHeightEnabled={isDynamicHeightEnabled}
loading={loading}
position={labelPosition}
Expand Down
1 change: 1 addition & 0 deletions app/client/src/widgets/MultiSelectWidget/widget/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ class MultiSelectWidget extends BaseWidget<
zIndex: Layers.dropdownModalWidget,
}}
isValid={this.props.isValid}
isRequired={this.props.isRequired}
labelAlignment={this.props.labelAlignment}
labelPosition={this.props.labelPosition}
labelStyle={this.props.labelStyle}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface MultiSelectProps
labelStyle?: string;
compactMode: boolean;
labelTooltip?: string;
isRequired?: boolean;
isValid: boolean;
allowSelectAll?: boolean;
filterText?: string;
Expand Down Expand Up @@ -89,6 +90,7 @@ function MultiSelectComponent({
filterText,
isDynamicHeightEnabled,
isFilterable,
isRequired,
isValid,
labelAlignment,
labelPosition,
Expand Down Expand Up @@ -334,6 +336,7 @@ function MultiSelectComponent({
fontSize={labelTextSize}
fontStyle={labelStyle}
helpText={labelTooltip}
isRequired={isRequired}
isDynamicHeightEnabled={isDynamicHeightEnabled}
loading={loading}
position={labelPosition}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ class MultiSelectWidget extends BaseWidget<
filterText={this.props.filterText}
isDynamicHeightEnabled={isAutoHeightEnabledForWidget(this.props)}
isFilterable={this.props.isFilterable}
isRequired={this.props.isRequired}
isValid={!isInvalid}
labelAlignment={this.props.labelAlignment}
labelPosition={this.props.labelPosition}
Expand Down
1 change: 1 addition & 0 deletions app/client/src/widgets/SelectWidget/component/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ class SelectComponent extends React.Component<
fontSize={labelTextSize}
fontStyle={labelStyle}
helpText={labelTooltip}
isRequired={this.props.isRequired}
isDynamicHeightEnabled={isDynamicHeightEnabled}
loading={isLoading}
position={labelPosition}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export interface TreeSelectProps
labelWidth?: number;
labelTextColor?: string;
labelTextSize?: TextSize;
isRequired?: boolean;
onDropdownOpen?: () => void;
onDropdownClose?: () => void;
labelStyle?: string;
Expand Down Expand Up @@ -121,6 +122,7 @@ function SingleSelectTreeComponent({
filterText,
isDynamicHeightEnabled,
isFilterable,
isRequired,
isValid,
labelAlignment,
labelPosition,
Expand Down Expand Up @@ -272,6 +274,7 @@ function SingleSelectTreeComponent({
fontSize={labelTextSize}
fontStyle={labelStyle}
helpText={labelTooltip}
isRequired={isRequired}
isDynamicHeightEnabled={isDynamicHeightEnabled}
loading={loading}
position={labelPosition}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ class SingleSelectTreeWidget extends BaseWidget<
expandAll={this.props.expandAll}
isDynamicHeightEnabled={isAutoHeightEnabledForWidget(this.props)}
isFilterable
isRequired={this.props.isRequired}
isValid={!isInvalid}
labelAlignment={this.props.labelAlignment}
labelPosition={this.props.labelPosition}
Expand Down