MikePageDev
Repeater HasMany
I have followed the docs regarding the BelongsToMany relationship. I have managed to get this to work on a custom page, but now I am trying to add it to a Resource. The edit page is not displaying existing relationships, and Create and Edit are not saving new relationships to the pivot table.
My pivot table does have an incremental
id
column.
Here is my repeater
code
Here are my model relationships
Any ideas? Have I missed something?6 replies
Dynamic hint not updating
Hi I have a hint on a field that changes depending on a select field. I have this working in another app but cant seem to get it working in this one and for the life of me I cant figure out what I have done differently.
here is a code example
For some reason the hint is not changing when an option is selected.
6 replies
Using JS package in custom widget
I am trying to create a widget with a chessboard using chessboardjs. I have tried retesting the js and css using
FilamenAsst::register()
and flowed the instructions in the docs but I just get a Failed to open stream: No such file or directory
error. Sorry I know this must be simple to do. Thanks19 replies
Add new parent in select field
Hi,
I have a one to many relationship, in the child create form I have a select field. Is it possible to create a new parent if it does not exist without changing view? Or would I need to create a custom field?
10 replies
Missing required parameter for [Route: filament.resources.users.edit] after Customising the account
Hi. I am new to Filament. I have followed the docs to customise the account link in the user menu. I refreshed my app while logged in and all seem to work nicely. I then logged out to test with another account and I get the following error
https://flareapp.io/share/47qrnQx5#F55
9 replies