Added onfocus, fixed autosearch clearing itself on widget reload
This commit is contained in:
2
typings/AutosearchProps.d.ts
vendored
2
typings/AutosearchProps.d.ts
vendored
@@ -13,6 +13,7 @@ export interface AutosearchProps<Style> {
|
||||
autoFocus: EditableValue<boolean>;
|
||||
onChange?: ActionValue;
|
||||
onEnter?: ActionValue;
|
||||
onLeave?: ActionValue;
|
||||
}
|
||||
|
||||
export interface AutosearchPreviewProps {
|
||||
@@ -23,4 +24,5 @@ export interface AutosearchPreviewProps {
|
||||
autoFocus: string;
|
||||
onChange: {} | null;
|
||||
onEnter: {} | null;
|
||||
onLeave: {} | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user