Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit 5de28b4

Browse files
author
Kamil Kisiela
committed
feat(textarea): api check for grow and default true
1 parent 67391b8 commit 5de28b4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/types/textarea/textarea.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ export default (formlyConfigProvider) => {
99
ngModelAttrs: {
1010
rows: {attribute: 'rows'},
1111
cols: {attribute: 'cols'}
12+
},
13+
templateOptions: {
14+
grow: true
1215
}
1316
},
1417
apiCheck: (check) => ({
1518
templateOptions: {
1619
rows: check.number.optional,
17-
cols: check.number.optional
20+
cols: check.number.optional,
21+
grow: check.bool.optional
1822
}
1923
})
2024
});
21-
}
25+
}

0 commit comments

Comments
 (0)