Fixed position and label of toggle

This commit is contained in:
devanshu052000 2025-04-23 22:01:00 +05:30
parent 30593d1f05
commit c9a4dfb8a3
4 changed files with 29 additions and 18 deletions

View file

@ -539,6 +539,17 @@ export function Select({ componentMeta, darkMode, ...restProps }) {
currentState,
allComponents
)}
{isMultiSelect &&
renderElement(
component,
componentMeta,
paramUpdated,
dataQueries,
'showAllSelectedLabel',
'properties',
currentState,
allComponents
)}
{isSortingEnabled &&
renderElement(
component,

View file

@ -121,6 +121,12 @@ export const multiselectV2Config = {
},
accordian: 'Options',
},
showAllSelectedLabel: {
type: 'toggle',
displayName: "Show 'All items are selected.'",
validation: { schema: { type: 'boolean' }, defaultValue: true },
accordian: 'Options',
},
optionsLoadingState: {
type: 'toggle',
displayName: 'Options loading state',
@ -142,12 +148,6 @@ export const multiselectV2Config = {
accordian: 'Options',
isFxNotRequired: true,
},
showAllSelectedLabel: {
type: 'toggle',
displayName: 'Show all options selected label',
validation: { schema: { type: 'boolean' }, defaultValue: true },
section: 'additionalActions',
},
loadingState: {
type: 'toggle',
displayName: 'Loading state',

View file

@ -121,6 +121,12 @@ export const multiselectV2Config = {
},
accordian: 'Options',
},
showAllSelectedLabel: {
type: 'toggle',
displayName: "Show 'All items are selected.'",
validation: { schema: { type: 'boolean' }, defaultValue: true },
accordian: 'Options',
},
optionsLoadingState: {
type: 'toggle',
displayName: 'Options loading state',
@ -142,12 +148,6 @@ export const multiselectV2Config = {
accordian: 'Options',
isFxNotRequired: true,
},
showAllSelectedLabel: {
type: 'toggle',
displayName: 'Show all options selected label',
validation: { schema: { type: 'boolean' }, defaultValue: true },
section: 'additionalActions',
},
loadingState: {
type: 'toggle',
displayName: 'Loading state',

View file

@ -121,6 +121,12 @@ export const multiselectV2Config = {
},
accordian: 'Options',
},
showAllSelectedLabel: {
type: 'toggle',
displayName: "Show 'All items are selected.'",
validation: { schema: { type: 'boolean' }, defaultValue: true },
accordian: 'Options',
},
optionsLoadingState: {
type: 'toggle',
displayName: 'Options loading state',
@ -142,12 +148,6 @@ export const multiselectV2Config = {
accordian: 'Options',
isFxNotRequired: true,
},
showAllSelectedLabel: {
type: 'toggle',
displayName: 'Show all options selected label',
validation: { schema: { type: 'boolean' }, defaultValue: true },
section: 'additionalActions',
},
loadingState: {
type: 'toggle',
displayName: 'Loading state',