Clearing editor field values
Clearing editor field values
abarnes
Posts: 16Questions: 5Answers: 0
Is it possible to have the field value cleared on on editor.bubble? Looking for a way for the user to avoid having to delete the value first before typing.
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Hi @abarnes ,
This here does the trick - I suspect there may be an easier way, but this will get you going.
Cheers,
Colin
I'd probably use the
open
event like this:Doesn't look much easier than Colin's answer though!
Allan
Awesome. Thanks
Followup, is there any way to get the current value of the field prior to clearing? For example only clear if it says "CLick to edit..."
Hi @abarnes ,
Going with Allan's approach, this here will do the trick,
Cheers,
Colin
Excellent. Exactly what I needed. Thanks for your help