Forum Discussion
5 Replies
Sort By
- Colin_McCraeCommunity HeroTry using .value instead of .keys?
- nachiket_kulkarOccasional Contributor.Value is not working for that control
- Colin_McCraeCommunity HeroYou're right. It doesn't.
Send the control this:
.keys("[Esc]")
... before sending your normal .keys to it. The [Esc] sends an escape keypress to the control which clears it. I've tried it and it works for me.
Or just add [Esc] to the start of the string you are already sending it which will clear it then enter your text. Again, tried and working for me. - nachiket_kulkarOccasional ContributorHi,
I tried using Esc but still it does not clear the text, it still appends the text in the NumberInput box.
Please help me with some other solution.
Regards,
nachiket - Colin_McCraeCommunity HeroDid you format it correctly?
I should be - [Esc] - without the square brackets, it won't work.
I tried it on a NumberInput type field and it worked perfectly.
Try it manually. Enter some numbers into the box and press escape. If the field clears, then send it an [Esc] should work.
Related Content
- 5 months agoCliffYoung
- 9 months agoRichardPla