This repository was archived by the owner on Mar 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
- <x-custom-select :filterable =" $filterable" :optional =" $optional" :placeholder =" $placeholder" :multiple =" $multiple" {{ $attributes } } >
1
+ <x-custom-select :filterable =" $filterable"
2
+ :optional =" $optional"
3
+ :placeholder =" $placeholder"
4
+ :multiple =" $multiple"
5
+ :fixed-position =" $fixedPosition"
6
+ :max-width =" $maxWidth"
7
+ {{ $attributes } }
8
+ >
2
9
{{ $slot } }
3
10
4
11
@foreach (app (' fc-timezone' )-> only ($only )-> all () as $region => $regionTimezones )
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ class TimezoneSelect extends Select
21
21
public bool $ filterable ;
22
22
public bool $ optional ;
23
23
public $ placeholder ;
24
+ public bool $ fixedPosition ;
24
25
25
26
public function __construct (
26
27
string $ name = '' ,
@@ -40,7 +41,8 @@ public function __construct(
40
41
bool $ useCustomSelect = false ,
41
42
bool $ filterable = true ,
42
43
bool $ optional = false ,
43
- string $ placeholder = 'Select a timezone '
44
+ string $ placeholder = 'Select a timezone ' ,
45
+ bool $ fixedPosition = false
44
46
) {
45
47
parent ::__construct (
46
48
$ name ,
@@ -64,5 +66,6 @@ public function __construct(
64
66
$ this ->filterable = $ filterable ;
65
67
$ this ->optional = $ optional ;
66
68
$ this ->placeholder = $ placeholder ;
69
+ $ this ->fixedPosition = $ fixedPosition ;
67
70
}
68
71
}
You can’t perform that action at this time.
0 commit comments