ValueChangeEvent Support
Closed this issue · 1 comments
chrisw73 commented
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