Skip to content

It's not reactive when we use disabled props on Pagination.First component #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
voontaojizen opened this issue Jul 4, 2023 · 1 comment

Comments

@voontaojizen
Copy link

Hi Im quite new in reporting issue found from the lib. Let me know if I did something wrong.

I found out an issue that when I use disabled props with a toggle like below, the Pagination.First wont toggle the state. Below is simplified example

const [disabled, setDisabled] = createSignal<boolean>(false)
<Pagination>
  <Pagination.First
    disabled={disabled()}
  />
</Pagination>

// and i have a button to toggle the disabled state here...
@Brendan-csel
Copy link
Collaborator

Thanks for reporting this. It should be resolved in 1.0.14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants