WeChat Mini Programs monitors the keyboard delete key.

how does WeChat Mini Programs monitor the delete key of the keyboard? when the input input is empty, click the delete key in the hope that you can listen, is there any way?

Apr.06,2021

do you want to listen that input value is empty?


dare to ask you how to solve the problem in the end. I can only judge whether the number of words is less than or equal to 0, but in fact, it seems useless to encounter an empty grid.

Menu