Coder Social home page Coder Social logo

Comments (5)

WordpressArtist avatar WordpressArtist commented on July 19, 2024

it keeps adding but not removing on uncheck , same item adding multiple times
Screenshot 2023-05-10 at 09 26 12

from vue3-table-lite.

linmasahiro avatar linmasahiro commented on July 19, 2024

Hi @WordpressArtist
I can't implement this problem on latest version, more detail please.

from vue3-table-lite.

WordpressArtist avatar WordpressArtist commented on July 19, 2024

I installed "vue3-table-lite": "^1.2.4"
now i set up
@return-checked-rows="onCheckRows"
:checked-return-type="'id'"
:has-checkbox="true"

now when i click on bulk check and uncheck works fine
but when i check individual row, it logs. the value

onCheckRows(rows) {
conosle.log(rows)
}

but when i uncheck, that the id must not be there but it still there.

Example:
i checked 1 row , please check log (i got 22 )

Screenshot 2023-05-10 at 13 17 45

Now uncheck the same item i can see still 22 on log

Screenshot 2023-05-10 at 13 17 51

now i check that item again i got 2 same data previous selected and current selected

Screenshot 2023-05-10 at 13 18 05

Now if i uncheck it still same 2 datas
if i again check it keeps adding item on array but not removing

from vue3-table-lite.

linmasahiro avatar linmasahiro commented on July 19, 2024

@WordpressArtist
Thanks for your information, I used ver1.2.4 to created an example to implement it, but can't implement the problem.
example

Can you implement this problem on codesandbox?

from vue3-table-lite.

WordpressArtist avatar WordpressArtist commented on July 19, 2024

@linmasahiro thanks it works now

from vue3-table-lite.

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.