Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default input style override the style of the InputComp passed as props to the textInputProps #942

Open
1 task
jocanola opened this issue May 22, 2024 · 0 comments
Labels

Comments

@jocanola
Copy link

jocanola commented May 22, 2024

Default input style override the style of the InputComp passed as props to the textInputProps

Please provide a FULLY REPRODUCIBLE example.

Click to expand!
<GooglePlacesAutocomplete
          // placeholder='Type your street address'
          minLength={2}
          autoFocus={true}
          returnKeyType={'search'}
          listViewDisplayed={null}
          fetchDetails={true}
    // ref={inputAddressRef}
    // placeholder='Search'
    onPress={(data, details = null) => {
      // 'details' is provided when fetchDetails = true
      console.log(data, details);
    }}
    query={{
      key: '',
      language: 'en',
      components: 'country:ng'
  }}
  nearbyPlacesAPI='GooglePlacesSearch'
  debounce={200}
  textInputProps={{
    InputComp:AppInput
  }}
  />
  
  

If you are using expo please indicate here:

  • I am using expo

Add any other context about the problem here, screenshots etc

@jocanola jocanola added the bug label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant