GithubHelp home page GithubHelp logo

Can't uncheck the checkbox about vuesax HOT 5 CLOSED

lusaxweb avatar lusaxweb commented on May 2, 2024 1
Can't uncheck the checkbox

from vuesax.

Comments (5)

TomasNiDo avatar TomasNiDo commented on May 2, 2024 1

@luisDanielRoviraContreras Here is a little sample of the object structure I am working with.

data: () => ({
  regions: [
    { id: 1, name: 'Queensland' },
    { id: 2, name: 'South Australia' },
    { id: 3, name: 'New South Wales' },
  ]
})

from vuesax.

TomasNiDo avatar TomasNiDo commented on May 2, 2024 1

@luisDanielRoviraContreras Well, I have a form object which holds the regions model like this.

data: () => ({
  form: {
    regions: []
  },
  regions: [
    { id: 1, name: 'Queensland' },
    { id: 2, name: 'South Australia' },
    { id: 3, name: 'New South Wales' },
  ]
})

from vuesax.

luisDanielRoviraContreras avatar luisDanielRoviraContreras commented on May 2, 2024 1

@VerzatileTom Ready friend and the problem is solved thank you very much please check if it works as it should

There is support in the version v3.0.19

https://lusaxweb.github.io/vuesax/components/checkbox.html#array-object-values

Thank you very much for using Vuesax and contributing to the 👍

from vuesax.

luisDanielRoviraContreras avatar luisDanielRoviraContreras commented on May 2, 2024

Could you pass me the structure of the object? to try to redo the problem thank you very much for the contribution

from vuesax.

luisDanielRoviraContreras avatar luisDanielRoviraContreras commented on May 2, 2024

then should not it be only regions directly without form? something like that

<vs-col v-for="(region, index) in regions" :key="index">
  <vs-checkbox v-model="regions" :vs-value="region" >{{ region.name }}</vs-checkbox>
</vs-col>

from vuesax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.