Describe the bug
When the "select" field has a single option, I can click on the label to set focus, but this stops working if I set hasMany=true
To Reproduce
Here is a code:
const categoryOptions = [
{
value: "technical",
label: "Technical Issue",
},
{
value: "billing",
label: "Billing & Payments",
},
{
value: "account",
label: "Account",
},
{
value: "feature",
label: "Feature Request",
},
];
const schema = defineSchema({
fields: [
{
type: "select",
name: "categories",
label: "Categories",
required: true,
hasMany: true,
options: categoryOptions,
placeholder: "Choose categories...",
},
],
});
Expected behavior
It should work as with single select.
Describe the bug
When the "select" field has a single option, I can click on the label to set focus, but this stops working if I set hasMany=true
To Reproduce
Here is a code:
Expected behavior
It should work as with single select.