mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
only render functional components in the client (#863)
This commit is contained in:
@@ -28,7 +28,9 @@ export default {
|
||||
};
|
||||
```
|
||||
|
||||
<ClearButtonOverride />
|
||||
<ClientOnly>
|
||||
<ClearButtonOverride />
|
||||
</ClientOnly>
|
||||
|
||||
The same approach applies for `multiple` selects:
|
||||
|
||||
@@ -53,7 +55,9 @@ export default {
|
||||
};
|
||||
```
|
||||
|
||||
<OpenIndicatorOverride />
|
||||
<ClientOnly>
|
||||
<OpenIndicatorOverride />
|
||||
</ClientOnly>
|
||||
|
||||
## Setting Globally at Registration
|
||||
|
||||
@@ -78,6 +82,7 @@ vSelect.props.components.default = () => ({
|
||||
Vue.component(vSelect)
|
||||
```
|
||||
|
||||
<CustomComponentRegistration />
|
||||
|
||||
<ClientOnly>
|
||||
<CustomComponentRegistration />
|
||||
</ClientOnly>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user