Hi All,
I using p-calendar for Time input in the following way:
<p-calendar class="col-xs-12 label-padding-none"
[(ngModel)]="startTime" showTime="true" hourFormat="24"
[styleClass]="'input-text'" placeholder="hh:mm" [timeOnly]="true"
[showTime]="false" [showOnFocus]="false" name="startTime"
></p-calendar>
How can I reach that, if the user typing the time, not require to type the character ":" between the hours and minutes?
Thank you in advance
p-calendar for Time input
You should mention the : separator to divide minutes and seconds. So it is mandatory to input this value.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
-
- Information
-
Who is online
Users browsing this forum: No registered users and 26 guests