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. itokia
    I
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 0
    • Groups 0

    itokia

    @itokia

    0
    Reputation
    4
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    itokia Follow

    Latest posts made by itokia

    • rules: float type verification but not required

      Hello,
      I would like to check my float field without making it required.
      I manage to check its type but as soon as I do not inform it it puts me an error.

      <q-input
                filled
                v-model.number="valeur"
                label="Valeur"
                type="number"
                step="any"
                :rules="[champDecimal()]"
              />
      
      methods: {
          champDecimal () {
            return (v) => /^([0-9]+([.][0-9]*)?|[.][0-9]+)$/.test(v) || 'Valeur erronée'
          }
      }
      

      Edit: I tested the regex below to allow the empty chain but it does not work.

      ^([0-9]+([.][0-9]*)?|[.][0-9]+)$|^$
      
      posted in Framework
      I
      itokia
    • q-drawer horizontal

      Hello,
      I would like to know if it is possible to create a horizontal q-drawer.
      Instead it opens from left to right, from top to bottom?
      thank you

      posted in Framework
      I
      itokia