Changed the default value of Sorting.

This commit is contained in:
devanshu052000 2025-02-19 11:51:02 +05:30
parent 1e1ebf6f01
commit 1082190e98
6 changed files with 12 additions and 12 deletions

View file

@ -66,7 +66,7 @@ export const dropdownV2Config = {
sort: {
type: 'switch',
displayName: 'Sort options',
validation: { schema: { type: 'string' }, defaultValue: 'none' },
validation: { schema: { type: 'string' }, defaultValue: 'asc' },
options: [
{ displayName: 'None', value: 'none' },
{ displayName: 'a-z', value: 'asc' },
@ -313,7 +313,7 @@ export const dropdownV2Config = {
label: { value: 'Select' },
value: { value: '{{"2"}}' },
optionsLoadingState: { value: '{{false}}' },
sort: { value: 'none' },
sort: { value: 'asc' },
placeholder: { value: 'Select an option' },
visibility: { value: '{{true}}' },
disabledState: { value: '{{false}}' },

View file

@ -133,7 +133,7 @@ export const multiselectV2Config = {
sort: {
type: 'switch',
displayName: 'Sort options',
validation: { schema: { type: 'string' }, defaultValue: 'none' },
validation: { schema: { type: 'string' }, defaultValue: 'asc' },
options: [
{ displayName: 'None', value: 'none' },
{ displayName: 'a-z', value: 'asc' },
@ -325,7 +325,7 @@ export const multiselectV2Config = {
advanced: { value: `{{false}}` },
showAllOption: { value: '{{false}}' },
optionsLoadingState: { value: '{{false}}' },
sort: { value: 'none' },
sort: { value: 'asc' },
placeholder: { value: 'Select the options' },
visibility: { value: '{{true}}' },
disabledState: { value: '{{false}}' },

View file

@ -66,7 +66,7 @@ export const dropdownV2Config = {
sort: {
type: 'switch',
displayName: 'Sort options',
validation: { schema: { type: 'string' }, defaultValue: 'none' },
validation: { schema: { type: 'string' }, defaultValue: 'asc' },
options: [
{ displayName: 'None', value: 'none' },
{ displayName: 'a-z', value: 'asc' },
@ -313,7 +313,7 @@ export const dropdownV2Config = {
label: { value: 'Select' },
value: { value: '{{"2"}}' },
optionsLoadingState: { value: '{{false}}' },
sort: { value: 'none' },
sort: { value: 'asc' },
placeholder: { value: 'Select an option' },
visibility: { value: '{{true}}' },
disabledState: { value: '{{false}}' },

View file

@ -133,7 +133,7 @@ export const multiselectV2Config = {
sort: {
type: 'switch',
displayName: 'Sort options',
validation: { schema: { type: 'string' }, defaultValue: 'none' },
validation: { schema: { type: 'string' }, defaultValue: 'asc' },
options: [
{ displayName: 'None', value: 'none' },
{ displayName: 'a-z', value: 'asc' },
@ -325,7 +325,7 @@ export const multiselectV2Config = {
advanced: { value: `{{false}}` },
showAllOption: { value: '{{false}}' },
optionsLoadingState: { value: '{{false}}' },
sort: { value: 'none' },
sort: { value: 'asc' },
placeholder: { value: 'Select the options' },
visibility: { value: '{{true}}' },
disabledState: { value: '{{false}}' },

View file

@ -66,7 +66,7 @@ export const dropdownV2Config = {
sort: {
type: 'switch',
displayName: 'Sort options',
validation: { schema: { type: 'string' }, defaultValue: 'none' },
validation: { schema: { type: 'string' }, defaultValue: 'asc' },
options: [
{ displayName: 'None', value: 'none' },
{ displayName: 'a-z', value: 'asc' },
@ -313,7 +313,7 @@ export const dropdownV2Config = {
label: { value: 'Select' },
value: { value: '{{"2"}}' },
optionsLoadingState: { value: '{{false}}' },
sort: { value: 'none' },
sort: { value: 'asc' },
placeholder: { value: 'Select an option' },
visibility: { value: '{{true}}' },
disabledState: { value: '{{false}}' },

View file

@ -133,7 +133,7 @@ export const multiselectV2Config = {
sort: {
type: 'switch',
displayName: 'Sort options',
validation: { schema: { type: 'string' }, defaultValue: 'none' },
validation: { schema: { type: 'string' }, defaultValue: 'asc' },
options: [
{ displayName: 'None', value: 'none' },
{ displayName: 'a-z', value: 'asc' },
@ -325,7 +325,7 @@ export const multiselectV2Config = {
advanced: { value: `{{false}}` },
showAllOption: { value: '{{false}}' },
optionsLoadingState: { value: '{{false}}' },
sort: { value: 'none' },
sort: { value: 'asc' },
placeholder: { value: 'Select the options' },
visibility: { value: '{{true}}' },
disabledState: { value: '{{false}}' },