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

Commit 858f9fa

Browse files
author
Kamil Kisiela
committed
feat(textarea): templateOptions.disabled
1 parent 7c1865c commit 858f9fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/types/textarea/textarea.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export default (formlyConfigProvider) => {
88
wrapper: ['label', 'messages', 'inputContainer'],
99
defaultOptions: {
1010
ngModelAttrs: {
11+
disabled: {
12+
bound: 'ng-disabled'
13+
},
1114
rows: {
1215
attribute: 'rows'
1316
},
@@ -21,6 +24,7 @@ export default (formlyConfigProvider) => {
2124
},
2225
apiCheck: (check) => ({
2326
templateOptions: {
27+
disabled: check.bool.optional,
2428
rows: check.number.optional,
2529
cols: check.number.optional,
2630
grow: check.bool.optional

0 commit comments

Comments
 (0)