@scbt-ecom/ui 0.97.0 → 0.97.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,6 +18,12 @@ export interface AutocompleteBaseProps<TData> extends Omit<ComboboxProps<false>,
|
|
|
18
18
|
* Handler инпута
|
|
19
19
|
*/
|
|
20
20
|
onChange?: (value: string) => void;
|
|
21
|
+
/**
|
|
22
|
+
* Стратегия управления полем
|
|
23
|
+
* @variation `input-first` - источником правды является инпут
|
|
24
|
+
* @variation `select-first` - источником правды является список
|
|
25
|
+
* @default input-first
|
|
26
|
+
*/
|
|
21
27
|
strategy?: 'input-first' | 'select-first';
|
|
22
28
|
}
|
|
23
29
|
export declare const AutocompleteBase: <TData>(props: AutocompleteBaseProps<TData> & {
|