Bardolf#6969
Bardolf#6969
FFilament
Created by Bardolf#6969 on 6/27/2024 in #❓┊help
Custom page with a wizard form
Ok only started using Filament this week, so forgive me if I'm missing something very basic. I'm trying to create a custom page with a wizard form component. I've got that working but when I try to add a select to the first page of the wizard based on a relationship in the model I get an error message
Call to a member function isRelation() on null
Call to a member function isRelation() on null
7 replies
FFilament
Created by Bardolf#6969 on 6/26/2024 in #❓┊help
Customizing the Registration Page
Rather than a single name field I need my User model to have 3 seperate name fields (first_name, middle_names, last_name). I've followed the example, in the docs, of extending filaments builtin registration class and overriding the form method. This works fine and changes the form but when I try to use it I get an error that the route doesn't accept POST requests. I then tried overriding the getForms method instead of the form method thinking that maybe skipping straight to the form something was being missed but the result was the same. Can anyone tell me what I'm doing wrong?
3 replies
FFilament
Created by Bardolf#6969 on 6/24/2024 in #❓┊help
Use value from first select filter to limit results in second select filter
I've got the standard city, state, country setup and can access all the relevant details in the table itself.
What I'm hoping to do is in the city table I have 2 select filters. 1 for country and one for state. I'd like it so that once they select a country it reduces the options in the state select to only have states from that country. I know I can customize the relationship callback for the select filter but how can I access the value selected in the first select?
6 replies