Help on creating a component

Hey guys, I'm new to filament and I'm trying to make a "Bingo" system. I'd like a functionality where a user can add available numbers. Ball is an entity that may be disabled. To this point, alright, just have a resource for Number, and that's basically it. But here's where things get complicated for me: I want the user to be able to adda multiple numbers saying a range, for example: 40 -> 100. Then it'd create all Balls with property numbers 40, 41, 42... After added, I want a page where each number is a badge, and you can actually "disable it" for the bingo temporarily. Clicking on it and making it gray-scale in design. My thoughts: I have two resources: Bingo and Ball I have a relationship where a Bingo can have many balls, and in the pivot table, I have the enabled column, which indicates if the ball is enabled to the Bingo. My doubts: How would you approach the creation of that page where user can see all the balls for the bingo and disable or enable it? How can we create multiple balls saying a range like this (40 to 100) And not just create, the same logic I'd use to attach to a bingo those balls (A bingo may or may not have specific balls) Thank you in advance!!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server