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

    [v1] .q-field--with-bottom being added to field

    Framework
    2
    2
    1186
    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.
    • ssuess
      ssuess last edited by ssuess

      Hi, I am using a text input with a date selector in the following way:

      <q-input v-model="startdate" dense stack-label label="start date" mask="date" :rules="['date']">
          <template v-slot:append>
              <q-icon name="event" class="cursor-pointer">
                <q-popup-proxy>
                  <q-date v-model="startdate" />
                </q-popup-proxy>
              </q-icon>
            </template>
          </q-input>
      

      and for some reason, there is a thick padding at the bottom of this field even though I have not added it. it appears that the class .q-field--with-bottom is being added for some reason and this is adding the passing. Is there a simple way in the component to control this?

      T 1 Reply Last reply Reply Quote 0
      • T
        turigeza @ssuess last edited by

        @ssuess
        I think the rules :rules="['date']" will cause this to be added. This is where the error messages go. Which are position: fixed because of the animation I think.

        Might be interesting to read
        https://github.com/quasarframework/quasar/issues/3357

        See also
        https://v1.quasar-framework.org/vue-components/input
        search for bottom-slots

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