gcanti / tcomb-form

Forms library for react
https://gcanti.github.io/tcomb-form
MIT License
1.16k stars 136 forks source link

Can't output a textarea #414

Closed arnoldbird closed 6 years ago

arnoldbird commented 6 years ago

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.

arnoldbird commented 6 years ago

See https://github.com/gcanti/tcomb-form-native/issues/481#issuecomment-387906930