NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

TextArea component is missing autoCompleteType

Open elenitaex5 opened this issue 3 years ago • 12 comments

Description

When I include TextArea component without any props as <TextArea /> it includes a Typescript error, missing autoCompleteType

CodeSandbox/Snack link

https://codesandbox.io/s/heuristic-david-cdf8zi

Steps to reproduce

Include <TextArea /> component in a project having native-base, typescript and eslint.

NativeBase Version

^3.4.15

Platform

  • [ ] Android
  • [ ] CRA
  • [ ] Expo
  • [ ] iOS
  • [ ] Next

Other Platform

The error is shown in IDE.

Additional Information

image

elenitaex5 avatar Oct 03 '22 08:10 elenitaex5

Hey @elenitaex5, Thanks for reporting the issue. We'll look into it.

ankit-tailor avatar Oct 04 '22 05:10 ankit-tailor

Any updates on this issue?

alalfakawma avatar Jan 05 '23 11:01 alalfakawma

@alalfakawma I don't think so... If it would be fix it, the issue would be closed by authors or collabs.

elenitaex5 avatar Jan 09 '23 11:01 elenitaex5

@alalfakawma I don't think so... If it would be fix it, the issue would be closed by authors or collabs.

Yeah, true. Let's hope this gets fixed.

alalfakawma avatar Jan 11 '23 09:01 alalfakawma

I'm also experience this issue

blakew avatar Jan 15 '23 17:01 blakew

Same error here

quentinmassias avatar Jan 18 '23 15:01 quentinmassias

Same issue

arcticfly avatar Jan 20 '23 23:01 arcticfly

autoCompleteType={true} clears the error

swissjake avatar Jan 30 '23 14:01 swissjake

I'm having the same issue. I'll just be adding the prop and setting to false for now.

Justin-Garey avatar Feb 02 '23 15:02 Justin-Garey

autoCompleteType={true} clears the error

Nowhere in the code does indicates that this value is of a boolean type? For me, just defining the property resolves the issue for TS validity, but could just as easy be null or an empty string. @ankit-tailor can you elaborate on what the type is for autoCompleteType ?

Edit: Should be of type string so it seems

ricohumme avatar Feb 08 '23 13:02 ricohumme

Same issue

saoudnazir avatar Mar 21 '23 09:03 saoudnazir

autoCompleteType={true} clears the error

thank you so much . I fixed

levietquang230996 avatar Jun 18 '23 05:06 levietquang230996