Hi all,
is there a way to set up the new component datePicker in order to allow selectionMode="multiple" but only allow select two dates?
Thanks
Best regards
New component DatePicker - SelectionMode (6.2.14)
Yes maxDateCount="2"
Code: Select all
<attribute>
<description><![CDATA[Maximum number of selectable dates in multiple mode.]]></description>
<name>maxDateCount</name>
<required>false</required>
<type>java.lang.Integer</type>
<defaultValue>java.lang.Integer.MAX_VALUE</defaultValue>
</attribute>
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
Thanks!
Melloware wrote: ↑12 Jan 2019, 15:51Yes maxDateCount="2"
Code: Select all
<attribute> <description><![CDATA[Maximum number of selectable dates in multiple mode.]]></description> <name>maxDateCount</name> <required>false</required> <type>java.lang.Integer</type> <defaultValue>java.lang.Integer.MAX_VALUE</defaultValue> </attribute>
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 44 guests