Torniojaws / vortech-front

React frontend for the Vortech website
https://vortechmusic.com
MIT License
0 stars 0 forks source link

Add News: Show existing categories as you type, or as-is #46

Open Torniojaws opened 6 years ago

Torniojaws commented 6 years ago

When you add a news post as admin, show either existing categories as a filtered list as you type:

existing: "Studio", "Songwriting", "Recording" If you type s, you would see "Studio" and "Songwriting". If you write r, you would see "Recording". If you write o, you would see nothing, because nothing begins with o or O.

Or maybe even a fulltext regexp? So, o would show all categories (each has o in it). r would show "Songwriting" and "Recording" u would show "Studio".

Remember to update the list after a small delay (100 ms?) to improve perceived behaviour.

Or it could simply be a full list showing up, since there will not be too many categories. Maybe 10 - 15 total.