Questions, Quasar, Database query, QSelect options #229
Unanswered
petteri111
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I am thinking of QSelect(1) input change to make async/ajax update to QSelect(2) options. Am I on right track? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello friends,
Just starting with JustPy and Quasar. My idea is to make a webpage to fill something to the database. The question is: I would like to make it like it queries the rows from table to fill QSelect options, that is ok and done (just distinct query then to the list and QSelect takes the list in options), but then I would like to make another query depending on the QSelect(1) selected value to filter the options in other QSelect(2):
Like if I have:
Car, Color:
Ford, Red
VW, Green
Toyota, Blue
Toyota, Red
Toyota, Black
If user chooses Toyota, the other QSelect(2) should give options [Blue, Red, Black] (depending what user has chosen in QSelect(1)). I am wondering how to do it? I am totally new to this kind of stuff and I am wondering all sorts of complicated solutions and therefore asking for advice.
Beta Was this translation helpful? Give feedback.
All reactions