How to create attendant use filter data

Please help me how to make showing data after select filtering data kelas (class) and jurusan (departement) like picture no 2, i try use repeater not working like picture no 3
No description
No description
No description
6 Replies
Yudi Wiputra
Yudi Wiputra4mo ago
absensi code
No description
No description
No description
Yudi Wiputra
Yudi Wiputra4mo ago
jurusan code
No description
No description
No description
Yudi Wiputra
Yudi Wiputra4mo ago
kelas migration
No description
No description
No description
Yudi Wiputra
Yudi Wiputra4mo ago
siswa code
No description
No description
No description
Mustafa_Dev
Mustafa_Dev2mo ago
Did you find a solution?
Coolman
Coolman2mo ago
On the element that you want to hide/show you can use the ->visible function. Like so
use Filament\Forms\Get;
->visible(function(Get $get) {
if ($get('kelas_field') && $get('jurusan_field')) {
// do logic
return true;
}
return false
})
use Filament\Forms\Get;
->visible(function(Get $get) {
if ($get('kelas_field') && $get('jurusan_field')) {
// do logic
return true;
}
return false
})
And next time, don't post screenshot of long code, use 3 ` (backtick) to wrap the code so it's easier to read.
Want results from more Discord servers?
Add your server