From 8e7d5b29f602e2e00d37c8334d7cf69e5eaa1495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bengt=20Wei=C3=9Fe?= Date: Tue, 13 Jan 2026 10:18:32 +0100 Subject: [PATCH] fix(textarea): add reflect option to disabled and readonly props To be consistent with ion-input and could be useful for styling purposes, since there is no "readonly" css class --- core/src/components/textarea/textarea.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/components/textarea/textarea.tsx b/core/src/components/textarea/textarea.tsx index 89646f6a247..ea5fa464186 100644 --- a/core/src/components/textarea/textarea.tsx +++ b/core/src/components/textarea/textarea.tsx @@ -132,7 +132,7 @@ export class Textarea implements ComponentInterface { /** * If `true`, the user cannot interact with the textarea. */ - @Prop() disabled = false; + @Prop({ reflect: true }) disabled = false; /** * The fill for the item. If `"solid"` the item will have a background. If @@ -177,7 +177,7 @@ export class Textarea implements ComponentInterface { /** * If `true`, the user cannot modify the value. */ - @Prop() readonly = false; + @Prop({ reflect: true }) readonly = false; /** * If `true`, the user must fill in a value before submitting a form.