Define a condition to chose first element in SelectField

#1

I’ve a field.SelectField with a source that simply fetch all instance of a Type. I’ve set the autoSelectFirst field to true, but I want to select a specific field that will show up select first not the one directly returned by the fetch.
Is is possible to have/define a condition that will be used by the field.SelectField to chose the first element?

0 Likes

#2

Try ‘selectedOpt’ option.

0 Likes