-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Component request: Typeahead / Autocomplete #118
Comments
Hi @anasbud, thanks for your question. We plan to build something that looks like a typeahead component in the near future. In fact, we have a basic implementation of this in the docs site navigator, but haven't yet solidified the API for broader consumption. Here's what that code looks like: https://github.com/palantir/blueprint/blob/42ac7930b92bebe978bb44b13e2e084f60367153/packages/docs/src/components/navigator.tsx |
First of all. Great work on the library so far. Love the use of Typescript, tether and the great documentation in the code itself. I am wondering if Blueprint is planning to adopt other libraries or that everything will be written from scratch (considering your use of TS). And how do you plan to offer/maintain functionality that is on par with separate libraries that solve a single problem. I raise this question as I was looking trough the components to find something that offers the same functionality as a standalone library like react-select (which is somewhat related to typeahead of this issue). Do you have any plans or comments regarding an advanced Select component? |
Great question @ConneXNL! For every feature we add to Blueprint, we try to carefully consider existing libraries that might solve the problem at hand, and they need not be written in TypeScript (of course, that's a plus) [1]. We have tried using select2 and react-select for a while in various places, and they've worked ~ok for us, but I think we've reached the tipping point where we'd like to implement our own advanced select / typeahead component using Blueprint building blocks [2]. Another relevant example is the datepicker component -- in that case, we found react-day-picker to be robust and we were able to customize it to get all the interactions and visual design how we wanted, so we decided to take it on as a dependency in [1] At the same time, we don't want to pull in too many dependencies. It's a case-by-case judgement call. Update (2/1/2017): there might be some hope for react-select yet; see JedWatson/react-select#1481 |
can the results dropdown be able to be styled and/or have custom data (icons, etc.)? |
@jmcampanini we'll make sure to make the component very configurable such that you can provide your own renderers for things like result items. |
Any plans when it will be available? Thanks for all your work, blueprint rocks🤘 ! |
Some time in the next couple of months |
Any updates? :) |
This isn't being actively worked on, but we're planning to start within the next few weeks |
If the api design decision is made; I can work on this one after 8th of April. |
Any word on this? |
definitely not closed but the team has been consumed with other priorities (see: all those awesome table features in v1.15.0). these |
thanks @giladgray I am planning on using BlueprintJS in my next project (a very large, very public project) and I am in need of a Typeahead style drop down. Will have to 'cobble' my own together for now and then replace it once the official one comes out. I love the one in your documents. Is there any source to that, this way it gives me at least a leg-up etc ? |
@AnthoniG see my comment above, #118 (comment), the source still lives there, you just need to switch to |
I ended up using a custom implementation which is very similar to the one on the documentation website. I'll try to extract and publish it when I have time. |
@burakcan Sounds good. Look forward to that. Please let me know when you do 😃 |
I've built one, you can use it. sample, code & docs: |
@liesislukas Thank you. I will use this, most definitely. |
Any update about the autocomplete field??? |
@gsi-chao it's called Suggest https://blueprintjs.com/docs/#select/suggest |
Firstable, great job !
Just one thing, I was looking for a typeahead component and didn't find it... maybe I didn't see it ?
Thanks !
The text was updated successfully, but these errors were encountered: