Hello,
<input type="datetime" datePicker [(selectedDate)]="user.startDate" name="startDate" class="form-control"/>
the value in the input is not reflected in the user.startDate ?
user.startDate = undef ?
Any idea please.
5 Answer(s)
-
0
Hi @simedbn,
Please make this change on your project and it will work <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/commit/fdd94cebdab988fd0773fafb1c56425053e314c3">https://github.com/aspnetzero/aspnet-ze ... 5053e314c3</a>.
-
0
Hello @ismcagdas,
I have already make the changes in datepicker component but the date selected not set in the value of the model :
<input datePicker type="datetime" [(selectedDate)]="user.startDate" name="startDate" class="form-control"/>
after i choose a date the text in the input is correct for exemple : 12/12/2017 but the value in user.startDate is undefined.
Thanks
-
0
Hi @simedbn,
I have reopened the issue <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/647">https://github.com/aspnetzero/aspnet-ze ... issues/647</a> and we will fix it soon.
Thanks for reporting it.
-
0
Hi @simedbn,
It is fixed now, can you check ?
-
0
Hello ismcagdas,
It's work :) Thank you.