Mexata
Mexata
FFilament
Created by Mexata on 5/8/2024 in #❓┊help
Remove Create and Create another button from wizard form
I have a wizard in a form:
public static function form(Form $form): Form
{
return $form
->columns(1)
->schema([
Wizard::make([ ... ])
])
}
public static function form(Form $form): Form
{
return $form
->columns(1)
->schema([
Wizard::make([ ... ])
])
}
but it still shows the "creat" and "create another" button. how do i remove those?
18 replies
FFilament
Created by Mexata on 5/8/2024 in #❓┊help
Create record function in filament resource
So a few weeks ago i made a resource. and normally when you create a resource the view, edit and create files come with it. But i deleted the create file because i wanted user to create a record using a form from the resource. But now i want it back. Is there a command in the terminal that create such thing or would i have to recreate my resource entirly?
6 replies
FFilament
Created by Mexata on 5/1/2024 in #❓┊help
Opening a form modal from a widget
So im just gonna ask in here again, I have a widget on my dashboard:
<div class="col-md-6">
<p>Get started</p>
<x-filament::button
icon="heroicon-m-arrow-right"
icon-position="after"
href="{{ url(route(...)) }}"
tag="a"
>
Add to database.
</x-filament::button>
</div>
<div class="col-md-6">
<p>Get started</p>
<x-filament::button
icon="heroicon-m-arrow-right"
icon-position="after"
href="{{ url(route(...)) }}"
tag="a"
>
Add to database.
</x-filament::button>
</div>
and i have a form in a resource with a wizard:
public static function form(Form $form): Form
{
return $form
->columns(1)
->schema([...])
public static function form(Form $form): Form
{
return $form
->columns(1)
->schema([...])
now i want that button in the widget to open the form modal when it is pressed, but i have no clue how to do this can anyone help?
3 replies
FFilament
Created by Mexata on 4/26/2024 in #❓┊help
Directing to a form in a resource from a widget in my dashboard
I got this widget in my dashboard:
<div class="col-md-6">
<x-filament::button
icon="heroicon-m-arrow-right"
icon-position="after"
href="???"
tag="a"
>
Add
</x-filament::button>
</div>
<div class="col-md-6">
<x-filament::button
icon="heroicon-m-arrow-right"
icon-position="after"
href="???"
tag="a"
>
Add
</x-filament::button>
</div>
and it has to direct to a: public static function form(Form $form): Form (inside a Resource) How do I make this work?
26 replies
FFilament
Created by Mexata on 4/26/2024 in #❓┊help
Ordering Widgets On dashboard
I have 2 Widgets: 1. A stats widget 2. A Custom widget. But i want my Custom widget to show up at the top, as right now it is below the stats widget. How do i do this?
2 replies
FFilament
Created by Mexata on 4/23/2024 in #❓┊help
->default function inside a wizard form
Could anyone tell me why ->default() is not working at all.
Group::make([
TextInput::make('identity')
->label('Identity')
->required()
TextInput::make('web')
->label('Web Url')
->default('https://www.test.com/v1/{identity}')
->disabled()
->required(),
])
Group::make([
TextInput::make('identity')
->label('Identity')
->required()
TextInput::make('web')
->label('Web Url')
->default('https://www.test.com/v1/{identity}')
->disabled()
->required(),
])
17 replies
FFilament
Created by Mexata on 4/4/2024 in #❓┊help
Create a custom text widget
Hello, i am trying to creata a widget for in my dashboard. I just want a text widget with some text in it and a button at the bottom that takes me to one of my resources
25 replies
FFilament
Created by Mexata on 4/2/2024 in #❓┊help
Wizard form submit
So im using wizard steps and in my form i have 3 steps but the "create" , "create and create another" and "cancel" button show on every stop. I want it to only show on the last step. Anybody can help me with that?
4 replies
FFilament
Created by Mexata on 3/27/2024 in #❓┊help
Guava Tutorials Plugin
Hello i am new to coding in laravel and filament and i need to install gauva to create onboarding. Is anybody in here familiar with Guava Tutorials. I want to start a tutorial when somebody logs in for the first time, when logged in. In the Dashboard it should state a welcome message and it should show to user profile then go over all the resource with a small explanaition with what can be found in the resources. Anybody that can help me get started with that.
15 replies