Fórum
Input-Date Event
Thuyen Truong, modificado 8 Anos atrás.
Input-Date Event
New Member Postagens: 15 Data de Entrada: 07/12/15 Postagens Recentes
Hi everyone,
I'm newbie and I have little skill in AlloyUI.
I must to build form for user to input data. But my form includes unlimited small form1s.
So I create sample form1.
Whenever the user click "Add" button, I will clone sample form1, and append to form.
But my form1 has input-date <liferay-ui:input-date> . And after I clone, the event for input-date (show calendar to choose) disappear because I just clone HTML.
I don't know how to event for clone input-date in form1 and also want to keep every available attributes of <liferay-ui:input-date>
Please help me if you have any idea. Thanks
I'm newbie and I have little skill in AlloyUI.
I must to build form for user to input data. But my form includes unlimited small form1s.
So I create sample form1.
Whenever the user click "Add" button, I will clone sample form1, and append to form.
But my form1 has input-date <liferay-ui:input-date> . And after I clone, the event for input-date (show calendar to choose) disappear because I just clone HTML.
I don't know how to event for clone input-date in form1 and also want to keep every available attributes of <liferay-ui:input-date>
Please help me if you have any idea. Thanks
Sandeep Nair, modificado 8 Anos atrás.
RE: Input-Date Event
Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
Hi,
Make sure whenever you are cloning the input-date the "name" attribute in liferay-ui:input-date is unique.
Regards,
Sandeep
Make sure whenever you are cloning the input-date the "name" attribute in liferay-ui:input-date is unique.
Regards,
Sandeep
Thuyen Truong, modificado 8 Anos atrás.
RE: Input-Date Event
New Member Postagens: 15 Data de Entrada: 07/12/15 Postagens Recentes
Hi Sandeep,
Thanks for your helpful recommendation.
But my problem is not as that. I solved it by re-trigger event date for input
new A.DatePicker(
{
trigger: 'input[name=inputname]',
popover: {
zIndex: 1
}
});
Thanks,
Thanks for your helpful recommendation.
But my problem is not as that. I solved it by re-trigger event date for input
new A.DatePicker(
{
trigger: 'input[name=inputname]',
popover: {
zIndex: 1
}
});
Thanks,