Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueChangeEvent Support #308

Closed
chrisw73 opened this issue May 5, 2022 · 1 comment
Closed

ValueChangeEvent Support #308

chrisw73 opened this issue May 5, 2022 · 1 comment

Comments

@chrisw73
Copy link

chrisw73 commented May 5, 2022

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 added a commit that referenced this issue Feb 27, 2023
@F0rce
Copy link
Owner

F0rce commented Feb 27, 2023

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 :)

@F0rce F0rce closed this as completed Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants