diff --git a/core/api.txt b/core/api.txt
index 77c2a42746..31ba1f7658 100644
--- a/core/api.txt
+++ b/core/api.txt
@@ -2280,6 +2280,7 @@ ion-textarea,prop,readonly,boolean,false,false,false
ion-textarea,prop,required,boolean,false,false,false
ion-textarea,prop,rows,number | undefined,undefined,false,false
ion-textarea,prop,shape,"round" | undefined,undefined,false,false
+ion-textarea,prop,size,"large" | "medium" | "small" | undefined,'medium',false,false
ion-textarea,prop,spellcheck,boolean,false,false,false
ion-textarea,prop,theme,"ios" | "md" | "ionic",undefined,false,false
ion-textarea,prop,value,null | string | undefined,'',false,false
diff --git a/core/src/components.d.ts b/core/src/components.d.ts
index 057be08e40..55f61afc6f 100644
--- a/core/src/components.d.ts
+++ b/core/src/components.d.ts
@@ -3620,6 +3620,10 @@ export namespace Components {
* The shape of the textarea. If "round" it will have an increased border radius.
*/
"shape"?: 'round';
+ /**
+ * The size of the textarea. If "large", it will have an increased height. By default the size is "medium". This property only applies to the `"ionic"` theme.
+ */
+ "size"?: 'small' | 'medium' | 'large';
/**
* If `true`, the element will have its spelling and grammar checked.
*/
@@ -8976,6 +8980,10 @@ declare namespace LocalJSX {
* The shape of the textarea. If "round" it will have an increased border radius.
*/
"shape"?: 'round';
+ /**
+ * The size of the textarea. If "large", it will have an increased height. By default the size is "medium". This property only applies to the `"ionic"` theme.
+ */
+ "size"?: 'small' | 'medium' | 'large';
/**
* If `true`, the element will have its spelling and grammar checked.
*/
diff --git a/core/src/components/textarea/test/basic/index.html b/core/src/components/textarea/test/basic/index.html
index 070e2072cb..6d73908513 100644
--- a/core/src/components/textarea/test/basic/index.html
+++ b/core/src/components/textarea/test/basic/index.html
@@ -22,8 +22,18 @@
-
diff --git a/core/src/components/textarea/test/size/index.html b/core/src/components/textarea/test/size/index.html new file mode 100644 index 0000000000..884371f930 --- /dev/null +++ b/core/src/components/textarea/test/size/index.html @@ -0,0 +1,75 @@ + + +
+ +
+ + + + + + + + + +
+