How to set pre selected value #3719
Unanswered
codingmachine16
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@codingmachine16 options: [
{
value: '',
name: "Please select an option",
},
{
name: "New",
},
{
name: "Sale",
},
{
name: "Featured",
},
{
name: "Categories",
},
] |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @artf
Here is a select box
label: "Data",
name: "productsDataSource",
id: "productsDataSource",
type: "select",
options: [
{
id: "new",
name: "New",
},
{
id: "sale",
name: "Sale",
},
{
id: "featured",
name: "Featured",
},
{
id: "categories",
name: "Categories",
},
],
changeProp: 1,
},
how to pass pre select value to it like "please select an option"
Thanks
Beta Was this translation helpful? Give feedback.
All reactions