Skip to content
Permalink
Browse files

Avoid use of autofill=false in blade includes to prevent JS error

  • Loading branch information...
lovett committed Jun 24, 2019
1 parent e92a3af commit 997f35fac9da33bb0bec5c4cc2fba7da773742c4
Showing with 2 additions and 2 deletions.
  1. +2 −2 resources/views/invoice/form.blade.php
@@ -71,9 +71,9 @@

@include('partials.formgroup-date', ['name' => 'due', 'label' => 'Due', 'autofill' => true, 'pickable' => ['month', 'day', 'year']])

@include('partials.formgroup-date', ['name' => 'paid', 'label' => 'Paid', 'autofill' => false, 'pickable' => ['relday', 'month', 'day', 'year']])
@include('partials.formgroup-date', ['name' => 'paid', 'label' => 'Paid', 'pickable' => ['relday', 'month', 'day', 'year']])

@include('partials.formgroup-date', ['name' => 'abandonned', 'label' => 'Abandonned', 'autofill' => false, 'pickable' => ['relday', 'month', 'day', 'year']])
@include('partials.formgroup-date', ['name' => 'abandonned', 'label' => 'Abandonned', 'pickable' => ['relday', 'month', 'day', 'year']])

@include('partials.save-button')

0 comments on commit 997f35f

Please sign in to comment.
You can’t perform that action at this time.