fix: clipboard demo not working with a-input (#4856)
parent
94efcec7da
commit
dc15accd04
|
@ -17,7 +17,7 @@ const { copy, text } = useClipboard({ legacy: true, source });
|
||||||
Current copied: <code>{{ text || 'none' }}</code>
|
Current copied: <code>{{ text || 'none' }}</code>
|
||||||
</p>
|
</p>
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<Input class="mr-3 flex w-[200px]" />
|
<Input v-model:value="source" class="mr-3 flex w-[200px]" />
|
||||||
<Button type="primary" @click="copy(source)"> Copy </Button>
|
<Button type="primary" @click="copy(source)"> Copy </Button>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
Loading…
Reference in New Issue