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

    Is it possible to have a q-input readonly?

    Help
    2
    2
    2309
    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.
    • Q
      QuaDgf last edited by

      I check disable, but I don’t like gray text and the user can’t copy.
      If I do:
      <q-input v-model=“var” float-label=“Desc” readonly=“readonly”/>
      readonly goes to first div intead of input:
      0_1505426740076_upload-5890f42e-d852-4208-b7eb-92d62ce160f4

      Thank you

      1 Reply Last reply Reply Quote 0
      • F
        Fernando2684 last edited by

        @QuaDgf use :value instead of v-model. and withouth disable

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