Revert removal of `type="button"` from relevant (non-submit) buttons

This commit is contained in:
Christopher C. Wells 2021-04-03 00:29:02 -07:00
parent 367d242ced
commit 51482f4adb
2 changed files with 7 additions and 3 deletions

View File

@ -36,6 +36,7 @@
</svg> </svg>
</div> </div>
<x-inputs.button <x-inputs.button
type="button"
class="text-xl mt-4" class="text-xl mt-4"
class="bg-blue-800 hover:bg-blue-700 active:bg-blue-900 focus:border-blue-900 ring-blue-300" class="bg-blue-800 hover:bg-blue-700 active:bg-blue-900 focus:border-blue-900 ring-blue-300"
x-show="morePages" x-show="morePages"

View File

@ -144,11 +144,13 @@
@include('recipes.partials.separator-input') @include('recipes.partials.separator-input')
</div> </div>
</div> </div>
<x-inputs.button class="bg-green-800 hover:bg-green-700 active:bg-green-900 focus:border-green-900 ring-green-300" <x-inputs.button type="button"
class="bg-green-800 hover:bg-green-700 active:bg-green-900 focus:border-green-900 ring-green-300"
x-on:click="addNodeFromTemplate($el, 'ingredient');"> x-on:click="addNodeFromTemplate($el, 'ingredient');">
Add Ingredient Add Ingredient
</x-inputs.button> </x-inputs.button>
<x-inputs.button class="bg-blue-800 hover:bg-blue-700 active:bg-blue-900 focus:border-blue-900 ring-blue-300" <x-inputs.button type="button"
class="bg-blue-800 hover:bg-blue-700 active:bg-blue-900 focus:border-blue-900 ring-blue-300"
x-on:click="addNodeFromTemplate($el, 'separator');"> x-on:click="addNodeFromTemplate($el, 'separator');">
Add Separator Add Separator
</x-inputs.button> </x-inputs.button>
@ -167,7 +169,8 @@
@include('recipes.partials.step-input') @include('recipes.partials.step-input')
</div> </div>
</div> </div>
<x-inputs.button class="bg-green-800 hover:bg-green-700 active:bg-green-900 focus:border-green-900 ring-green-300" <x-inputs.button type="button"
class="bg-green-800 hover:bg-green-700 active:bg-green-900 focus:border-green-900 ring-green-300"
x-on:click="addNodeFromTemplate($el, 'step');"> x-on:click="addNodeFromTemplate($el, 'step');">
Add Step Add Step
</x-inputs.button> </x-inputs.button>