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. Adrian79
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Groups 0

    Adrian79

    @Adrian79

    0
    Reputation
    49
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Adrian79 Follow

    Latest posts made by Adrian79

    • RE: QDate lock to select only YYYY/MM

      @manacrox your code saved my day! But there are a few lines I added to make it perfect for me and would like to share it back in case somebody finds it useful.
      The “interesting” part are the masks set both on the input and the calendar. This makes it show and save only the month and year part.

            <q-input
              readonly
              input-class="cursor-pointer"
              label="Inicio"
              :value="e.periodo.inicio"
              @click="$refs.monthPicker.show()"
              mask="##/####"
              fill-mask="##/####"
            >
              <template v-slot:append>
                <q-icon name="event" class="cursor-pointer">
                  <q-popup-proxy ref="monthPicker" transition-show="scale" transition-hide="scale">
                    <q-date
                      minimal
                      mask="MM/YYYY"
                      emit-immediately
                      default-view="Years"
                      v-model="e.periodo.inicio"
                      @input="checkValue"
                    />
                  </q-popup-proxy>
                </q-icon>
              </template>
            </q-input>
      
      
      posted in Help
      A
      Adrian79