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 posible pass $ref validate a component ?

    Help
    1
    1
    244
    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.
    • L
      lobo last edited by lobo

      my question is possible pass the $ref validate a component and the component validate the $ref sometime like this https://stackoverflow.com/questions/45187857/passing-refs-content-from-a-child-to-another-vuejs-child-component/45188166

      <q-input v-model=“datos.correo” ref=“refCorreo” :rules="[ val => val !== null || ‘Debe escribir un correo o un número de celular’]" />
      <ComponentExample :parentRefs="$refs.refCorreo" /> or call in the componente sometime like this this.$parent.$refs.refCorreo.validate()

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