Skip to content

Commit

Permalink
fix: clipboard demo not working with a-input (#4856)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurDarkstone authored Nov 11, 2024
1 parent 94efcec commit dc15acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/src/views/demos/features/clipboard/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const { copy, text } = useClipboard({ legacy: true, source });
Current copied: <code>{{ text || 'none' }}</code>
</p>
<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>
</div>
</Card>
Expand Down

0 comments on commit dc15acc

Please sign in to comment.