Form not doing anything

I created a Filament page with a form on it. The form is rendering but all of the other functions are not working. When i try ->afterStateUpdated() on the fields nothing happens. Probably i must have forgotten something but i can't find it.
This is the page: https://gist.github.com/ThijmenKort/9f8eafb7a5253b09b71da7e45e9ebbf1
Gist
Items page. GitHub Gist: instantly share code, notes, and snippets.
Solution
$form->statePath(‘data)
Was this page helpful?