Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 27, 2024. It is now read-only.
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Reset button not working when used in slots #97

Open
@jdsantos

Description

Hi there!

First of all, thank you for your contribution to the community with this package.
I'm using this package in a small project, and at some point i needed to customize the TableReset slot which i did with the following:

<Table>
<template #tableReset="resetProps">
</template>
</Table>

The resetProps (unspreaded) has the onClick property well defined, and canBeReset property always with the value of "canBeReset". I do think it is always like this because of a small binding error here:
https://github.com/jdsantos/inertiajs-tables-laravel-query-builder/blob/main/js/Components/Table.vue#L52

I will make a PR and if you think this solves the problem correctly please merge it.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /