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
    1. Home
    2. Slowaways
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 3
    • Best 0
    • Groups 0

    Posts made by Slowaways

    • How to get the object of selected option?

      In the example below:

      ...
      <q-select color="secondary" v-model="select" :options="listOptions" />
      ...
      select: 'fb',
      listOptions: [
              {
                label: 'Google',
                icon: 'email',
                value: 'goog'
              },
              {
                label: 'Facebook',
                icon: 'chat',
                description: 'Enables communication',
                value: 'fb'
              },
              {
                label: 'Twitter',
                inset: true,
                rightIcon: 'live_help',
                value: 'twtr'
              },
              {
                label: 'Apple Inc.',
                inset: true,
                stamp: '10 min',
                value: 'appl'
              },
              {
                label: 'Oracle',
                description: 'Some Java for today?',
                icon: 'unarchive',
                rightIcon: 'widgets',
                value: 'ora'
              }
            ]
      ...
      

      If the user select Oracle, how to get the other properties like label, icon and description, etc…?
      The selection property should store the full object, not just the value.

      posted in Framework
      Slowaways
      Slowaways
    • How to compile my own version of Quasar Framework?

      I wanted to modify the q-select component for learning and testing purposes. I did not want to create a custom component. I expected the components to be in a folder on the node_modules.
      I tried install my own version of Quasar through a fork here on GitHub (npm install https://github.com/slowaways/quasar.git) when compiling says that the quasar package is missing.
      I want to use my own compiled version. I’ve tried this:

      git clone https://github.com/slowaways/quasar.git - OK
      npm install - OK
      npm run dev - OK

      How do I use this compiled version integrated with Quasar CLI?

      I honestly did not find any tutorials within the documentation for this.
      Thanks!

      posted in Framework
      Slowaways
      Slowaways