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

InputMask doesn't fire change event of clientValidator #4616

Closed
mertsincan opened this issue Mar 8, 2019 · 0 comments
Closed

InputMask doesn't fire change event of clientValidator #4616

mertsincan opened this issue Mar 8, 2019 · 0 comments
Assignees
Labels
6.2.18 🐞 defect Bug...Something isn't working
Milestone

Comments

@mertsincan
Copy link
Member

Reported By PRO User;

I noticed that InputMask seems to skip firing the change event on input. <p:ajax event="change" /> and <p:clientValidator event="change" /> aren't triggered on input.

Testcase:

<div>
	<p:inputMask mask="99 99? 99" id="number" value="#{test.number}">
		<p:clientValidator event="change" />
	</p:inputMask>
	<p:message for="number" />
</div>
<div>
	<p:commandButton id="submit" value="Submit" action="#{test.submit}" type="submit" validateClient="true" update="@form" />
</div>
@Pattern(regexp = "22 33 44")
@NotNull
private String number;
@mertsincan mertsincan self-assigned this Mar 8, 2019
@mertsincan mertsincan added 🐞 defect Bug...Something isn't working 6.2.18 labels Mar 8, 2019
@mertsincan mertsincan added this to the 7.0 milestone Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.2.18 🐞 defect Bug...Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant