Update Table Data from Form Select Options

Hello everyone,

I'm working on a school attendance application using Filament, and I'm having trouble figuring out how to update table data from form select options. Specifically, I need to create a form that allows the user to select a class and a stream, and then generates a table containing the students in that particular stream. The user should then be able to mark each student as present or absent, and submit the attendance data to update the table.

I'm having trouble understanding how to set up the getTableQuery() function in Filament to retrieve the students from the database based on the selected class and stream, and how to update the attendance data in the table once it has been submitted.

Any suggestions or guidance on how to achieve this functionality would be greatly appreciated.

Thank you in advance for your help!
Was this page helpful?