i'm creating a date picker in liferay alloy-ui. This code displays as default the date at this moment, but i want to set it null, cause i want that the user sets it. i tried to not display the date as input ,but the value of it, didn't change. Below is my code. Can anyone help me? thank you in advance.
div class="aui-datepicker aui-helper-clearfix" id="#<portlet:namespace/>beginDatePicker">
<input type="text" name="beginDate" id="<portlet:namespace/>beginDate" size="30" value=""/>
</div>
<aui:script>
AUI().use('aui-datepicker', function(A) {
var simpleDatepicker1 = new A.DatePicker({
trigger: '#<portlet:namespace />beginDate',
}).render('##<portlet:namespace />beginDatePicker');
});
</aui:script>