js: fix when first input, onTextChange or onSubmitEditing pass editing undefined
This commit is contained in:
4
doric-js/lib/src/widget/input.d.ts
vendored
4
doric-js/lib/src/widget/input.d.ts
vendored
@@ -21,13 +21,13 @@ export declare class Input extends View {
|
||||
hintTextColor?: Color;
|
||||
multiline?: boolean;
|
||||
textAlignment?: Gravity;
|
||||
onTextChange?: (text: string) => void;
|
||||
onTextChange?: (text?: string) => void;
|
||||
onFocusChange?: (focused: boolean) => void;
|
||||
maxLength?: number;
|
||||
password?: boolean;
|
||||
editable?: boolean;
|
||||
returnKeyType?: ReturnKeyType;
|
||||
onSubmitEditing?: (text: string) => void;
|
||||
onSubmitEditing?: (text?: string) => void;
|
||||
enableHorizontalScrollBar?: boolean;
|
||||
enableVerticalScrollBar?: boolean;
|
||||
/**
|
||||
|
Reference in New Issue
Block a user