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

    q-input masks

    Help
    2
    3
    1354
    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.
    • K
      kerbo last edited by

      Has anyone figured out a good way to mask a field? (0.15+).

      I tried v-mask but it doesn’t work. Inspecting the html, it looks like the v-mask directive doesn’t get passed down to the actual input element.

      VMasker works but the user experience isn’t that great.

      v-the-mask works great but its a component and doesn’t match the styling of q-input.

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

        Hello Kerbo,

        I’m use v-mask, but dont works really nice when we have a number properties. When this happened, i’m converted the result manually.

        What your error during the run with v-mask?

        Regards,
        Bruno Meurer

        K 1 Reply Last reply Reply Quote 0
        • K
          kerbo @brunomeurer last edited by

          No error. The mask simply doesn’t work.

          I’m using v-mask on a q-input inside of a q-td. Maybe that’s the reason. As I said, I inspected the DOM and the v-mask attribute is missing.

          I noticed q-input seems to be an INPUT layered in a couple of DIVs for styling. I’m wondering if I can make my own mask component by taking v-the-mask (which is an INPUT) and wrapping it in the same DIVs to get the q-input styling.

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