留言板

aui date picker, calendar with maximumDate attribute

thumbnail
Nagendra Kumar Busam,修改在8 年前。

aui date picker, calendar with maximumDate attribute

Liferay Master 帖子: 678 加入日期: 09-7-7 最近的帖子
Try to select max date as date, next when you click in input box - input value becomes blank. This will not be the case if we select other dates prior to max date. Max date is one year from current date

JS fiddle

http://jsfiddle.net/uasvug1h/1/(alloy 3 it was working)

http://jsfiddle.net/btnkumar/uasvug1h/2/(alloy 2 it was not working)

How to make this work in alloy 2.
thumbnail
Kyle Joseph Stiemann,修改在8 年前。

RE: aui date picker, calendar with maximumDate attribute

Liferay Master 帖子: 760 加入日期: 13-1-14 最近的帖子
Hi Nagendra,
This is a known/fixed bug in AlloyUI. As far as I can tell from the git history, the fix was only applied to 3.0.x. If you can, you should upgrade to that version. If not, you can comment on AUI-1177 and ask for the fix to be backported to the 2.0.x branch.

- Kyle
thumbnail
Nagendra Kumar Busam,修改在8 年前。

RE: aui date picker, calendar with maximumDate attribute

Liferay Master 帖子: 678 加入日期: 09-7-7 最近的帖子
Thank you very much Kyle, I just commented in the jira ticket.

by default Liferay 62 ships w/ Alloy 2.0, is it easy to upgrade it to 3.0.x
thumbnail
Jonathan Mak,修改在8 年前。

RE: aui date picker, calendar with maximumDate attribute

Junior Member 帖子: 44 加入日期: 11-2-3 最近的帖子
Hi Nagendra,

I have created a new AUI zip for you to use with the issue (https://issues.liferay.com/browse/AUI-1177) backported to AUI 2.0.x. This new AUI zip can be found at https://github.com/liferay/alloy-ui/releases/tag/2.0.0.62-deprecated.

Please let me know if you have any questions. Thanks!
thumbnail
Nagendra Kumar Busam,修改在8 年前。

RE: aui date picker, calendar with maximumDate attribute

Liferay Master 帖子: 678 加入日期: 09-7-7 最近的帖子
Jonathan,

Thank you very much for quick reply w/ backported zip. I have a question, do I need to replace only one particular file aui-datepicker/js/aui-datepicker.js OR whole zip file?
thumbnail
Jonathan Mak,修改在8 年前。

RE: aui date picker, calendar with maximumDate attribute

Junior Member 帖子: 44 加入日期: 11-2-3 最近的帖子
Hi Nagendra,

To deploy the update AUI zip, you can do the following:
  • Browse to "/portal/portal-web/third-party".
  • Delete the existing "alloy-2.0.x.zip" file.
  • Place the new AUI zip in the same folder.
  • Browse to "/portal/portal-web" in your terminal.
  • Run "ant build-alloy deploy" in your terminal to move the updated AUI files to the your server.


Please let me know if you have any questions. Thanks!
thumbnail
Nagendra Kumar Busam,修改在8 年前。

RE: aui date picker, calendar with maximumDate attribute

Liferay Master 帖子: 678 加入日期: 09-7-7 最近的帖子
Thank you. For this I need to create ext plugin right?

As an EE customer, can I get a patch If I raise a LESA ticket which can be deployed using patching tool.