web-ridge / react-native-paper-autocomplete Goto Github PK
View Code? Open in Web Editor NEWThe autocomplete package you wished for on all platforms (iOS, Android, web)
License: MIT License
The autocomplete package you wished for on all platforms (iOS, Android, web)
License: MIT License
Hey @RichardLindhout, another awesome react-native-paper
component as always. Just out of curiosity, do you have a rough time frame on when this might be out of beta and supported on all platforms? I'd be interested in using this down the road on a personal project.
Hey! Awesome work getting this off the ground. I've been looking for something like this for a few weeks now and it's super exciting to see this repo pop up!
Just wanted to enumerate a few bugs I've noticed in very early testing. I will try to contribute to this project if I have time, but unfortunately, this area of my project is not high priority yet, so it may be some time before I can.
These were all discovered on a physical iOS device using managed Expo:
My current implementation is pretty plain:
<Autocomplete
onChange={() => null}
value={null}
options={[
{ value: 1, label: 'test' },
{ value: 2, label: 'Pjotr Versjuurre' },
{ value: 3, label: 'Bjart von Klef' },
{ value: 4, label: 'Riesjard Lindhoe' },
]}
inputProps={{
placeholder: 'Select user',
mode: 'outlined',
dense: true,
}}
/>
Sorry this isn't the most well-formatted bug report. It's very late here and I need to sleep; just wanted to share my findings before I turned in.
Best of luck with this project!
Make sure the padding and heights are right for other input modes like contained, flat etc
When specifying disabled: true in inputProps, it should not be possible to use dropdown button and clear button in Autocomplete field
Maybe let user opt in for bottom sheet support with something like. https://github.com/gorhom/react-native-bottom-sheet
When having the autocomplete focussed, it's impossible to scroll.
Video:
https://youtu.be/0yGnSWfeleM
Does it work with expo? i couldn't run it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.