Closed howdu closed 1 year ago
So that this is the same as trailing-addon. Reason being I have decrement/increment buttons
<x-input class="text-center" name="product_option" value="0" x-model="option_quantity" min="0"> <x-slot name="leadingIcon"> <x-heroicon-o-minus x-on:click="option_quantity--;if(option_quantity < 1){option_quantity = 0;}" /> </x-slot> <x-slot name="trailingIcon"> <x-heroicon-o-plus x-on:click="option_quantity++" /> </x-slot> </x-input>
So that this is the same as trailing-addon. Reason being I have decrement/increment buttons