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. mfrz6
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 7
    • Best 0
    • Groups 0

    mfrz6

    @mfrz6

    0
    Reputation
    2
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mfrz6 Follow

    Latest posts made by mfrz6

    • binding model to QSelect with checkbox

      im wanna to bind model to QSelect with checkbox,
      but when binding model to QSelect checkbox not checked.
      this is my code:

       data() {
          return {
              selectModel: [],
              selectOptions: [
              {
                label: 'Google',
                value: 1
              },
              {
                label: 'Facebook',
                value: 2
              },
              {
                label: 'Twitter',
                value: 3
              },
              {
                label: 'Apple',
                value: 4
              },
              {
                label: 'Oracle',
                value: 5
              }
            ],
           
          };
        },
      
      

      and button event to binding QSelect

          onBindCheckedSelect() {
      this.selectModel= [
       {
                label: 'Twitter',
                value: 3
              },
              {
                label: 'Apple',
                value: 4,
                
              },
      
          ]},
      

      and this is my html code

       <div class="q-pa-md" style="max-width: 300px">
          <div class="q-gutter-md">
            <q-badge color="secondary" multi-line>
              Model: "{{ model }}"
            </q-badge>
      
            <q-select
                filled
                v-model="selectModel"
                :options="selectOptions"
                label="Multi with toggle"
                multiple
                emit-value
                map-options
            >
              <template v-slot:option="scope">
                <q-item
                  v-bind="scope.itemProps"
                  v-on="scope.itemEvents"
                >
                  <q-item-section>
                    <q-item-label v-html="scope.opt.label" ></q-item-label>
                  </q-item-section>
                  <q-item-section side>
                    <q-checkbox v-model="selectModel" :val="scope.opt.value" />
                  </q-item-section>
                </q-item>
              </template>
            </q-select>
          </div>
        </div>
      

      but its not working and selected item not checked

      qselect-bug.png

      posted in Help
      M
      mfrz6
    • bug in persian range datepicker

      hi
      in range date picker when use persian language , sum of selected day in subtitle is show undefined.
      range.png

      posted in Framework
      M
      mfrz6
    • change range qdate picker subtitle range

      hi
      im using range QDate for persian , but in subtitle (sum of day selected) is show undefined. how to resolve it?
      range.png

      posted in Help
      M
      mfrz6
    • RE: change language of datepicker

      @dobbel I did not understand what you meant

      posted in Help
      M
      mfrz6
    • change language of datepicker

      hi
      im want to change language of my datepicker but not change application language.
      for examlpe my app language is “en-us” and my datepicker language should be “fa-ir”.
      how i can do it?

      posted in Help
      M
      mfrz6
    • how can i using Dialog in a JS method?

      hi friends
      im want to using quasar dialog in a js mehod, but when call this method , return in OnOK or OnCancel not working

        ConfirmDialog() {
          Dialog.create({
            title: 'Confirm',
            message: 'Would you like to turn on the wifi?',
            ok: {
              push: true
            },
            cancel: {
              push: true,
              color: 'negative'
            },
            persistent: true
          }).onOk(() => {
            return 'Ok';
          }).onCancel(() => {
            return 'Cancel';
          }).onDismiss(() => {
            return 'Dismiss';
          })
         
          return 'dssd';
        }
      

      how can i do it? please help me

      posted in Help
      M
      mfrz6
    • how can i convert from persian date to miladi date?

      im want to convert persian date to miladi date
      for example convert from ‘1399/07/23’ to ‘10/14/2020’

      posted in Help
      M
      mfrz6