kian
Creating redirects from old pages to new ones
For a website I need to implement redirects that will route the user from the old admin panel to the new one.
I found this plugin that does exactly what I need, but it seems to be decrepitated, cant find the github page for it either. (https://v2.filamentphp.com/plugins/redirects).
Anyone know another plugin that does this? If not, what is the best way to implement something like this?
7 replies
Show date to frontend, but save another
What would be the best way to show data to the frontend, but save something different to the db?
I am making a custom input field, which is connected to an API. I want a single value of the api response to be shown inside of the input field, but want to save the full json to the database.
4 replies
Ignore using filament:assets for package
I am using this package for inspiration: https://github.com/cheesegrits/filament-google-maps
and found you don't have to use php artisan filament:assets when using the package.
In the package im currently building, this is still a required step. Is there a way I could implement this?
2 replies
Custom validation in custom field
Is there a way to add custom validation rules to custom fields?
I have a custom field containing a regular input field, and want to verify the content before the user can proceed. What would be the best way to do this?
2 replies
Using api key from backend to frontend
I am working on a project where I need an API key in the frontend.
I have the api key stored in the backend, and now have set up the javascript for this to get to the frontend, code is down below. Is there a way to hide this key? Right now it gets shown in the sources. Or is this not possible at all?
4 replies
Linking javascript file to component
What is the best way to link a javascript file to a component?
I want to be able to run functions of the js file in my component, and be able to use $wire inside it, but cant figure out how to link them together. I've done research but there isnt really a good docs that helps me with this.
8 replies
unable to call method
I am new to filament, and got assigned to a project to make a custom field for searching location through google maps api.
I am getting a little stick here. I'm using to try and call a method in my component class (GeoMap), but keep getting this error
Unable to call component method. Public method [newLocations] not found on component
. When I post this method in my CreateLocation class it does work however. What is the reason for this, and how can I fix this?
5 replies