feat: add sort option to station search form
This commit is contained in:
@@ -41,6 +41,15 @@
|
||||
</flux:select>
|
||||
</div>
|
||||
|
||||
<div class="w-full sm:w-40">
|
||||
<flux:select wire:model="sort" name="sort" label="Sort by">
|
||||
<flux:select.option value="price">Cheapest first</flux:select.option>
|
||||
<flux:select.option value="distance">Nearest first</flux:select.option>
|
||||
<flux:select.option value="updated">Recently updated</flux:select.option>
|
||||
<flux:select.option value="brand">Brand A–Z</flux:select.option>
|
||||
</flux:select>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<flux:button type="submit" variant="primary" wire:loading.attr="disabled">
|
||||
<span wire:loading.remove wire:target="findStations">Search</span>
|
||||
|
||||
Reference in New Issue
Block a user