File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,9 @@ export default function CardGeneralParameterInputs({
63
63
// Exclude hidden inputs based on mods
64
64
if ( mods ) inputKeys = subtractArray ( inputKeys , mods . deactivatedFormInputs ) ;
65
65
66
- return inputKeys . map ( ( key ) => ( { value : key , label : categoryMap [ key ] } ) ) ;
66
+ return inputKeys
67
+ . map ( ( key ) => ( { value : key , label : categoryMap [ key ] } ) )
68
+ . sort ( ( a , b ) => a . label . localeCompare ( b . label ) ) ;
67
69
} ;
68
70
69
71
return (
@@ -186,7 +188,7 @@ export default function CardGeneralParameterInputs({
186
188
value : parameters . category ,
187
189
label : categoryMap [ parameters . category ] ,
188
190
} }
189
- placeholder = 'Category'
191
+ placeholder = { inputTypeLabel }
190
192
options = { availableInputTypes ( ) }
191
193
onChange = { ( val : any ) => {
192
194
// figure out the new 'type'
You can’t perform that action at this time.
0 commit comments