Skip to content

Commit

Permalink
fix(input-tag): fix readonly problem
Browse files Browse the repository at this point in the history
  • Loading branch information
flsion committed Nov 24, 2023
1 parent f540801 commit 1e897c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/web-vue/components/input-tag/input-tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,9 @@ export default defineComponent({
};

const handleKeyDown = (e: KeyboardEvent) => {
if (mergedDisabled.value || props.readonly) {
return;
}
const keyCode = e.key || e.code;
if (
!isComposition.value &&
Expand Down

0 comments on commit 1e897c0

Please sign in to comment.