akveo / react-native-ui-kitten

:boom: React Native UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/react-native-ui-kitten/
MIT License
10.28k stars 951 forks source link

Input type "textarea" #476

Closed kevinweber closed 5 years ago

kevinweber commented 5 years ago

Issue type

I'm submitting a ... (check one with "x")

Issue description

Current behavior:

Looking at https://akveo.github.io/react-native-ui-kitten/docs/components/input/overview#input, the screenshots show different component types, including textarea and select but I'm unclear on how to use them. Are those types implemented? If so, how to use them? If not, by when do you plan to implement them?

Expected behavior:

Support textarea and select input types.

artyorsh commented 5 years ago

Hi @kevinweber Unfortunately, these types of inputs are not currently implemented but will be available in future releases. We're working on documentation to get it more clear now Thanks for your interest

artyorsh commented 5 years ago

I also recommend you looking through API block. This would contain actual information about styling components.

mrmurphy commented 5 years ago

Yes! A bit added to the documentation stating that a text input cannot be styled to look like a text area right now would be really helpful. I thought I had found a bug and was poking around the source code.

mrmurphy commented 5 years ago

Actually I'm starting to think that I just haven't found the right attribute to override to set the height of the input. I've tried height, and maxHeight. Anyone know which CSS attribute I could override to make a tall input?

artyorsh commented 5 years ago

@mrmurphy, unfortunately, we don't have TextArea yet. Can be size property helpful for you? If not, you can set the height of the Input based on your needs with Eva mappings. See an example

kiyasov commented 4 years ago

It worked for me image