azerion / phaser-input

Adds input boxes to Phaser like CanvasInput, but also works for WebGL and Mobile, made for Phaser only.
MIT License
203 stars 64 forks source link

how to clear the input #26

Closed HaiboLee closed 7 years ago

HaiboLee commented 7 years ago

i want to use you plugin but how to clear the text ,i try set the input.value = "" , but that doesn't work

AleBles commented 7 years ago

InputField.setText('')

HaiboLee commented 7 years ago

thank you very much