oj-input-date-time validation
Summary:
I have used two component for saving date and time both (Punch_time_in and Punch_time_out). my requirement is while saving the record it will check punch_time_in or punch_time_out both date should be same but the time is different that's okay. just wanted to notifify user to select the same date in both component.
Content (please ensure you mask any confidential information):
<oj-label class="oj-label label">Punch Time In</oj-label>
<oj-input-date-time class="oj-input-text inputText" label-hint="Date Time"
value="{{ $variables.Attendance_missingpunch_var.punch_time }}"
converter='{"type": "datetime", "options": {"pattern":"dd-MMM-yyyy hh:mm a"}}' required="true"></oj-input-date-time>
Tagged:
0