Hi all,
I am using primefaces 8.0 with springBoot 2.2.6 and Wildfly 19.0.1, for the <p:datepicker> component when I am useing pattern and maxdate attribute together in single component, at that time when I click on the component no date select panel is visible for selecting the date.
Following is the code snippiest :
<p:datePicker id="startTime"
value="#{temp.equipStartTime}"
hideOnDateTimeSelect="true" beforeShow="false"
pattern="dd MMM yyyy" showIcon="true"
maxdate="#{temp.maxDate}" showTime="true" />
Data Type of temp.maxDate is java.time.LocalDateTime.
Thanks to all.
Regards,
Krushna Kale
<p:datepicker> pattern and maxdate attributes are not working together:
Please provide an executable example using the PrimeFaces Test https://github.com/primefaces/primefaces-test project. It is the only way developers can debug your problem to help.
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
-
- Posts: 3
- Joined: 05 Feb 2020, 05:30
Hi,
https://github.com/ProfessionProgrammer ... s-test.git
here I have uploaded the test project. issue still exist with this also.
Thank you.
Regards,
Krushna Kale
https://github.com/ProfessionProgrammer ... s-test.git
here I have uploaded the test project. issue still exist with this also.
Thank you.
Regards,
Krushna Kale
I have verified your issue. Please report it here: https://github.com/primefaces/primefaces/issues
It's throwing an error on the JS Console of "Uncaught Unexpected literal at position 2"
It's throwing an error on the JS Console of "Uncaught Unexpected literal at position 2"
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
-
- Information
-
Who is online
Users browsing this forum: No registered users and 39 guests