Skip to content

Commit 2e11c04

Browse files
author
runc
committed
fix(textarea): passthrough autofocus prop directly to the element
1 parent 0560c91 commit 2e11c04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/textarea/textarea.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export default defineComponent({
146146
disabled: isDisabled.value,
147147
placeholder: props.placeholder,
148148
readonly: props.readonly,
149+
autofocus: props.autofocus,
149150
onFocus: handleFocus,
150151
onBlur: handleBlur,
151152
onInput: handleInput,

0 commit comments

Comments
 (0)