You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: