nostrodamned
Having issues with Test using laravel-modules and FilamentPHP
Hi all,
I am trying to run this test
to test a user registering
I am getting this error if i try the UserCreate class
and this if i use the UserClass
Anyone any ideas please?
Thanks in advance!
10 replies
Best Way to create invoice number preview
I want to generate a preview of how the invoice number will look upon changint the field values.
I can use a livewire component with alpine using this
but wondering if there is a more elegant way to do it directly in the form?
9 replies
Redirect loop on tenant with subdomain
I am just setting up tenancy and I am getting an error asdf.tac.test redirected you too many times
this is my admin panel provider
https://gist.github.com/craigvc/615cfebe692f8d5870ea2a0eca4b9f98
Any clues to what i am doing wrong?
4 replies
How do i Remove the * for required fields that use a prefix without a label?
Hi all - may be a silly one but how can i do this? When a field is required it still shows the * above the field - i would like it in the prefix/suffix area?
Thanks in advance!
I do this for the *
But issue is the validation * being above the field and messing up the layout
4 replies
Pass Calling Model on ImportAction from Relation Manager
HI all, Is there a way to pass which ModelId called the Import Action
We have a Group Model and we want to know the group_id that the import action was called from in order to save it to a database record?
5 replies
Custom Field that Extends TextInput etc to AutoSave
I am trying somehow to create a parameter i can pass to a textinput that autosaves a field
this is my customclass
I want to add the parameter ->autosave(true) to the field - Something like this
Any hints on how i can use the afterStateUpdated to call this function?
Thanks in advance!!
10 replies
Spatie Settings multiple groups on one page
Hi All,
I am trying to figure out how to do this:
I am using Spatie Settings and have multiple groups(global, finance, security etc)
How can i save data to multiple groups on a settings page - as i am specifying
public static function group(): string
{
return 'global';
}
on each Settings class?
eg.
I was trying to avoid having one huge settings class 🙂
6 replies
Thoughts on best practices for a View
I am just looking for some advice/ideas here.
My application has multiple different settings such as finance settings, Account settings etc. Each Set of settings is a different resource.
I am trying to think of a way to consolidate them to make it easy for user navigation.
It would be perfect i think to have a secondary menu so
Settings
--Finance Settings
--Status Settings
etc. but that looks messy on the main nav- it would be better to have a settings menu under the user menu, but it doesnt support nested menus.
My next thought would be have the Settings on the User Menu link, and have a secondary sidebar on the page, but i cant think of an easy way to do this except make every resource a custom page and add a livewire component to it for the links to the seperate menu items - seems clunky!
The last idea i had was to use tabs, but i cant figure a way to load views into tabs for different resources!
Any thoughts, ideas, suggestions greatly appreciated!!!
7 replies
Check for uniqueness according to column title for grouped records
Hi I am trying to check for uniqueness of a Status Title - based on the model type.
This is my code (but its probably junk!!)
Basically have 2 columns the model_type and the Title, so want to ensure that title is unique for each model_type (i added the ignoreRecord to allow editing of the title.
2 replies