lukevi
Avoid ID in edit page
In that case - a repeater could probably do what you want. If settings is a table, make it a relation to something like User, as in User::hasMany('settings'). Then the user/edit page can list every setting, available to edit, and save all with one submit.
20 replies
Avoid ID in edit page
Use a slug instead of ID? https://filamentphp.com/docs/3.x/panels/pages#customizing-the-page-url
20 replies
External js on just one dialog
looks like I just needed to read the docs more thoroughly re loading the file, and then take a lucky guess on passing the attribute:
edit: that guess wasn't so lucky - the resulting <script> tag did not end up with the necessary attribute
5 replies
Column URL - apply only to text, not the whole cell?
it's a little tempting to fiddle with the column component - it looks like I could remove the $url from these checks and make the overall cell keep the row's behavior.
then i'd have to go into the specific types like text-column.blade.php and put an <a> around maybe {{ $placeholder }}..
8 replies
Filament Export Action
Also run well with non-filament route I can create/write that public dir.ah sorry, I didn't see this part. also just noticed that you're instantly starting the download for the user - that is clever. I don't have any other good suggestions. One thing to try might be a more basic path with just A-Z?
10 replies
Why is this bad? Sending export completion notification to the UI as well as to the database.
thanks for sharing this - I don't yet have db-notifications working, so this is the only way I can see the completed exports.
have you managed to implement this with an override outside of the vendors dir?
6 replies
Is possible to create page with dynamic sub pages?
are the files listed in your db? the table view works best from a db query, so hopefully that's a yes.
I believe you could set your table row-click action to update the filter. When the row type is a subfolder, you'd update the filter to ->where('path', $newSelectedPath)
3 replies