mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +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:
|
The same approach applies for `multiple` selects:
|
||||||
|
|
||||||
@@ -53,7 +55,9 @@ export default {
|
|||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
<OpenIndicatorOverride />
|
<ClientOnly>
|
||||||
|
<OpenIndicatorOverride />
|
||||||
|
</ClientOnly>
|
||||||
|
|
||||||
## Setting Globally at Registration
|
## Setting Globally at Registration
|
||||||
|
|
||||||
@@ -78,6 +82,7 @@ vSelect.props.components.default = () => ({
|
|||||||
Vue.component(vSelect)
|
Vue.component(vSelect)
|
||||||
```
|
```
|
||||||
|
|
||||||
<CustomComponentRegistration />
|
<ClientOnly>
|
||||||
|
<CustomComponentRegistration />
|
||||||
|
</ClientOnly>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user