D5300
Field is hidden test - Pest
Hi guys,
I have on my tenant create a form which I want to test. It has a depending field which I try to test if its visible or not. But using isVisible or isHidden, both return an error:
Failed asserting that a field with the name [company_name] is hidden on the form named [form] on the [App\Filament\Pages\Tenancy\RegisterWebsite] component.
Failed asserting that an array does not have the key 'company_name'.
My test looks like the following:
The form will be in a seperate message as I dont have discord premium 😄
3 replies
Guidance custom field
Hi,
Im looking for someone that can guide me with creating a custom field in Laravel Filament. Will be by discord and I will pay for it (don't know if this is the right channel so if im wrong, correct me).
Custom field is about using data from the active form in that component.
Cheers!
5 replies
MorphTo morpheable resources
Hi,
I got a morph relation which looks like:
RentReservation
House
Apartment
Car
A RentReservation is always attached to a house, apartment or car. When I open the RentReservation resource, I see all the RentReservations. Is it possible to create a resource for each morph type?
How about creating those relations? I can't find it in the docs
2 replies