We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64dc302 commit bf383d2Copy full SHA for bf383d2
client/packages/lowcoder/src/comps/controls/optionsControl.tsx
@@ -359,6 +359,7 @@ export function optionsControl<T extends OptionsControlType>(
359
uniqField?: keyof ConstructorToView<T>;
360
// manual mode list title
361
title?: string;
362
+ autoIncField?: keyof PickNumberFields<ConstructorToView<T>>;
363
}
364
) {
365
type OptionViewType = ConstructorToView<T>;
@@ -369,6 +370,7 @@ export function optionsControl<T extends OptionsControlType>(
369
370
manual: manualOptionsControl(VariantComp, {
371
initOptions: config.initOptions,
372
uniqField: config.uniqField,
373
+ autoIncField: config.autoIncField,
374
}),
375
mapData: mapOptionsControl(VariantComp, config.uniqField),
376
},
0 commit comments