F0rce/signature-widget

ValueChangeEvent Support

Closed this issue · 1 comments

Hi!

Here #44 someone requested an "isEmpty" feature.
I think it would be even nicer to attach a ValueChangeListener.

We have a next-button on the same screen as the signature-pad, which just should become enabled, if a signature has been done.
Currently we use:
signatureField.getElement().addEventListener("click", domEvent -> this.nextButton.setEnabled(true));

which does the job quite well.

Have you considered extending AbstractField instead of Component and add ValueChangeListener Support?

Regards,
Chris

F0rce commented

This has been implented as today with Version v3.1.0. Sorry for the late reply.

If you have any question about the new listener please re-open or open a new one :)