Calender & autoComplete are not Dirty after pick.

Components, Ajax Framework, Utilities and More.
Post Reply
mipe1122
Posts: 2
Joined: 02 Dec 2016, 14:07

17 May 2017, 17:59

Im trying to check if calender and autoComplete(dropdown) inputs has values.

If I klick the inputs and type values I get validation.
$('.input').change(function() { formForm = true});

If I only take value from the dropdown list or pick a date I will not get a validation telling it has been used. Are there any simple way to solve this with Primefaces?

/Mike

kukeltje
Expert Member
Posts: 8578
Joined: 17 Jun 2010, 13:34
Location: Netherlands

18 May 2017, 08:09

add javascript/event listeners on the inputs?
Ronald van Kuijk
______________________________
PrimeFaces 5.2, PrimeFaces plus 0.0.2 | JbossWildfly 8.1| Mojarra 2.2.8
Fedora 21, Firefox 'most recent'
Read the forum posting rules
Beginners: https://jsf.zeef.com/bauke.scholtz

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider], Google [Bot] and 10 guests