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

    No validation with q-option-group?

    Help
    2
    3
    859
    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.
    • J
      jammy-git last edited by

      I need to ensure the user has select an option in an option group when the form is submitted, but it looks like the q-option-group doesn’t have any validation built in (no rules prop, etc). Is this the case? Is it not possible to add validation to q-option-group?

      1 Reply Last reply Reply Quote 1
      • s.molinari
        s.molinari last edited by

        Wrap the component with Q-Field.

        https://quasar.dev/vue-components/field

        Scott

        1 Reply Last reply Reply Quote 1
        • J
          jammy-git last edited by

          That works perfectly! Thank you!

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