gcanti/tcomb-form

Can't output a textarea

arnoldbird opened this issue · 1 comments

Version

Tell us which versions you are using:

"tcomb": "^3.2.25",
"tcomb-form-native": "^0.6.11"
"react": "^16.3.0",

Expected behaviour

Textarea in form output.

Actual behaviour

Textbox in form output.

Steps to reproduce

When I specify a textarea, I still get a textbox. What might I be doing wrong?

var props = {
      notes: t.maybe(t.String)
}
fields: {
        notes: {
          type: 'textarea',
          autoCapitalize: 'none',
          autoCorrect: false
        }
}

Thanks.