Skip to content

Commit

Permalink
time group 24hours attribute added
Browse files Browse the repository at this point in the history
  • Loading branch information
CihanSenturk committed Jul 9, 2021
1 parent f8d10f6 commit a4d8e21
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions resources/views/partials/form/time_group.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,23 @@ class="{{ $col }}{{ isset($attributes['required']) ? ' required' : '' }}"
:model="{{ $attributes['model'] }}"
@endif

@if (!empty($attributes['value']))
:value="{{ $attributes['value'] }}"
@endif

:date-config="{
allowInput: true,
wrap: true,
enableTime: true,
@if (!empty($attributes['seconds']))
enableSeconds: true,
@endif
@if (!empty($attributes['time_24hr']))
wrap: false,
time_24hr: true,
@else
wrap: true,
@endif
noCalendar: true
}"

Expand Down

0 comments on commit a4d8e21

Please sign in to comment.