Skip to content

Commit

Permalink
bug timepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
adhiariyadi authored Apr 8, 2021
1 parent ddac676 commit fe6dfae
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions resources/views/admin/jadwal/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@
<div class="col-md-6">
<div class="form-group">
<label for="jam_mulai">Jam Mulai</label>
<input type='text' id="jam_mulai" name='jam_mulai' class="form-control @error('jam_mulai') is-invalid @enderror jam_mulai" placeholder='JJ:mm:dd'>
<input type='text' id="jam_mulai" name='jam_mulai' class="form-control @error('jam_mulai') is-invalid @enderror jam_mulai" placeholder="{{ Date('H:i') }}">
</div>
<div class="form-group">
<label for="jam_selesai">Jam Selesai</label>
<input type='text' id="jam_selesai" name='jam_selesai' class="form-control @error('jam_selesai') is-invalid @enderror" placeholder='JJ:mm:dd'>
<input type='text' id="jam_selesai" name='jam_selesai' class="form-control @error('jam_selesai') is-invalid @enderror" placeholder="{{ Date('H:i') }}">
</div>
<div class="form-group">
<label for="ruang_id">Ruang Kelas</label>
Expand Down Expand Up @@ -183,8 +183,7 @@
$("#liMasterData").addClass("menu-open");
$("#DataJadwal").addClass("active");
$("#jam_mulai,#jam_selesai").timepicker({
timeFormat: 'HH:mm',
defaultTime: '07:00',
timeFormat: 'HH:mm'
});
</script>
@endsection
@endsection

0 comments on commit fe6dfae

Please sign in to comment.