kevin
kevin
FFilament
Created by kevin on 10/5/2024 in #❓┊help
stancl/tenancy Path Identification error: Missing required parameter
No, I'm not
8 replies
FFilament
Created by kevin on 10/5/2024 in #❓┊help
stancl/tenancy Path Identification error: Missing required parameter
No description
8 replies
FFilament
Created by SK on 2/11/2024 in #❓┊help
stancl/tenancy Path Identification
How did you do this?
4 replies
FFilament
Created by kevin on 6/2/2023 in #❓┊help
How do I make a unique() field with the id of the resource?
The TextInput(name) is inside a repeater with a role relationship. Role names cannot be repeated for one client, but other clients can have the same roles. However, with ignoreRecord:true, I am unable to perform that validation
4 replies
FFilament
Created by kevin on 6/2/2023 in #❓┊help
How do I make a unique() field with the id of the resource?
Thanks for your reply but I'm trying this
TextInput::make('name')
->unique(
callback: function (Unique $rule) {
return $rule->where('client_id', request('record'));
})
->required()
TextInput::make('name')
->unique(
callback: function (Unique $rule) {
return $rule->where('client_id', request('record'));
})
->required()
4 replies