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

    Qfields and inputs causing double outline

    Framework
    2
    5
    208
    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.
    • B
      bambinou last edited by

      Hello,

      No idea why this is happening but I am using Quasar V1 rc4 and when I add this code in my page I get 2 outline input fields

      <q-field outline label="Your email" error-label="Please add an email" :error="$v.email.$error">
              <q-input v-model="email" @blur="$v.email.$touch"></q-input>
            </q-field>
      

      I tried to put the “outlined” on the input itself but it does not show.

      quasar.png

      Any idea why please?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman last edited by

        @bambinou do not wrap q-input / q-select in a q-field, it’s already wrapped in q-field internally https://quasar.dev/vue-components/field#Introduction.

        1 Reply Last reply Reply Quote 0
        • B
          bambinou last edited by

          Oh ok, thank you so much Metalsadman!!!
          So the error-label=“Please add an email” :error="$v.email.$error" will have to be added to the Qinput then.

          Thanks again!

          1 Reply Last reply Reply Quote 0
          • metalsadman
            metalsadman last edited by

            @bambinou Yep thats the way to do it. Cheers.

            1 Reply Last reply Reply Quote 0
            • B
              bambinou last edited by

              Thanks, yes I tried, perfect!!! thanks again.

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