Potassium
Potassium
FFilament
Created by W1DO on 10/30/2023 in #❓┊help
Pagination is not displayed
turns out it was something very silly... as you said it was views I publised that were conflicting... Problem solved...
29 replies
FFilament
Created by W1DO on 10/30/2023 in #❓┊help
Pagination is not displayed
ok, thank you very much! Do you think it could also be because we were using laravel 9.5 after we upgraded filament to v3?
29 replies
FFilament
Created by W1DO on 10/30/2023 in #❓┊help
Pagination is not displayed
I work with Lavember on the same Project. We fallowed every step on the documentation to upgrade to v3, we fixed all the deprecated functions and it worked perfectly, at some point the paging buttons just stopped showing up. We're using the latest version of filament now. In order to fix that I had to do the fallowing kludge with JS:
function unhide() {
let pagination_container = document.querySelector('[role=navigation]')
pagination_container.firstElementChild.classList.remove('hidden')
pagination_container.querySelectorAll(('.hidden')).forEach(el => el.classList.remove('hidden'))
pagination_container.querySelectorAll('button').forEach(el => el.classList.remove('md:hidden'))
pagination_container.querySelector('ol').classList.add('hidden')
}

setInterval(unhide,500)
function unhide() {
let pagination_container = document.querySelector('[role=navigation]')
pagination_container.firstElementChild.classList.remove('hidden')
pagination_container.querySelectorAll(('.hidden')).forEach(el => el.classList.remove('hidden'))
pagination_container.querySelectorAll('button').forEach(el => el.classList.remove('md:hidden'))
pagination_container.querySelector('ol').classList.add('hidden')
}

setInterval(unhide,500)
29 replies