No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Q-select and values

    Help
    1
    1
    268
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      haohmaru last edited by

      I receive these data on created cycle of component:
      {title: ‘any title’, type: ‘medical’, id: ‘mongo objectid here’}
      and I make my q-select passing title and id to it. But, how could I get a third attribute/parameter on change event of my select to get the type value?
      Example: I would like to get, on change event of my select, the value of the selected option and in somewhere get also the type. In others words, something like that:
      <select>
      <option value=“any value” type=“medical”>Any title </option>
      <option value=“any value 2” type=“child”>Another title here </option>
      </select>

      1 Reply Last reply Reply Quote 0
      • First post
        Last post