js: fix when first input, beforeTextChange pass editing undefined (#562)
This commit is contained in:
@@ -98,10 +98,10 @@ export class Input extends View {
|
||||
*/
|
||||
@Property
|
||||
beforeTextChange?: (change: {
|
||||
editing: string,
|
||||
editing?: string,
|
||||
start: number,
|
||||
length: number,
|
||||
replacement: string,
|
||||
replacement?: string,
|
||||
}) => boolean
|
||||
|
||||
@Property
|
||||
|
Reference in New Issue
Block a user