This repository was archived by the owner on Mar 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -90,3 +90,19 @@ In both cases, this will output:
9090```
9191
9292With both methods, you can use a boolean value ` false ` to include every timezone region available.
93+
94+ ## Custom Select Support
95+
96+ As of version ` 1.4.0 ` , the timezone select can be rendered either as a native select input, or by using the
97+ [ custom-select component] ( /docs/laravel-form-components/v1/components/custom-select ) . To use the custom-select
98+ component, simply pass in a true boolean value for the ` use-custom-select ` attribute on the timezone select.
99+
100+ ``` html
101+ <x-timezone-select use-custom-timezone />
102+ ```
103+
104+ By default, the timezone select uses the native select input, so you will explicitly tell it to use
105+ the custom-select component any time you render the timezone select component.
106+
107+ ** Note:** If you want to render it as a custom-select, you need to ensure you have followed the
108+ [ installation steps] ( /docs/laravel-form-components/v1/components/custom-select#installation ) for the ` custom-select ` component.
You can’t perform that action at this time.
0 commit comments