Component Proposal: Tokenised Input Field For Filtering #16048
Replies: 1 comment
-
There seems to be no resonance with this feature. Closing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
in this discussion, I want to propose a new component.
Use case / Description of the new component
Imagine a website with a lot of filterable entities, we are looking for a intuitive filtering method.
For this, we thought of a text based input that is able to contextually aware present you with options you can filter for.
Based on what you're currently entering, other options will show and you can use operations to combine those selections.
q-select
but aware of the context).Author
+is
+some name
would be one group).Demo
I built a very simple proof of concept for filtering some Todos. The field could look a little like this:
token-field-poc.mp4
The code for the PoC is available here: https://github.com/giz-berlin/quasar-token-field-poc
By no means, this is perfect or complete as there are still a lot of things to consider.
I split this into two components:
TokenField
which just displays groups of tokens.FilterTokenField
which uses theTokenField
and implements logic in order to provide the context aware menu.Why we think this would be a good idea
What still is conceptually unclear
Beta Was this translation helpful? Give feedback.
All reactions