feat: default fuel type to petrol
This commit is contained in:
@@ -14,7 +14,7 @@ class StationSearch extends Component
|
|||||||
public string $search = '';
|
public string $search = '';
|
||||||
|
|
||||||
#[Validate('required|string', message: 'Please select a fuel type.')]
|
#[Validate('required|string', message: 'Please select a fuel type.')]
|
||||||
public string $fuelType = '';
|
public string $fuelType = 'petrol';
|
||||||
|
|
||||||
#[Validate('required|integer|min:1|max:20')]
|
#[Validate('required|integer|min:1|max:20')]
|
||||||
public int $radius = 5;
|
public int $radius = 5;
|
||||||
|
|||||||
Reference in New Issue
Block a user