Skip to content

Commit

Permalink
fix(pro:textarea): readonly not working (#1704)
Browse files Browse the repository at this point in the history
  • Loading branch information
sallerli1 committed Oct 7, 2023
1 parent 5259671 commit 6e82eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/pro/textarea/src/content/Content.tsx
Expand Up @@ -61,6 +61,7 @@ export default defineComponent({
ref={textareaRef}
class={`${prefixCls}-textarea`}
disabled={accessor.disabled}
readonly={props.readonly}
placeholder={props.placeholder}
onInput={handleInput}
onCompositionstart={handleCompositionStart}
Expand Down

0 comments on commit 6e82eb4

Please sign in to comment.