ValentinC
ValentinC
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
How can i include the CSS for the grid system in this custom layout?
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
Yes. You are right. Thank you!
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
I wonder if the issue is connected to an older version of the JS files
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
do you have components/layouts/app.blade file? mine has this content: <!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{{ $title ?? 'Page Title' }}</title> @vite(['resources/css/app.scss', 'resources/js/app.js']) </head> <body> {{ $slot }} @livewireScriptConfig </body> </html>
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
Yes. I use it in a Livewire component @Leandro Ferreira
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
@Vp @Stevee if you run the code .. does it work for you?
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
This did not helped. Here is the blade file also. <div> <form wire:submit="create"> {{ $this->form }} <button type="submit"> Submit </button> </form> <x-filament-actions::modals /> </div>
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
@Stevee do you see anything strange here?
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
Here is my code : <?php namespace App\Livewire; use Carbon\Carbon; use Filament\Forms\Components\TextInput; use Filament\Forms\Concerns\InteractsWithForms; use Filament\Forms\Contracts\HasForms; use Filament\Forms\Form; use Illuminate\Support\Str; use Livewire\Component; class RegisterUserAndCarForm extends Component implements HasForms { use InteractsWithForms; public ?array $data = []; public ?string $title = null; public function mount(): void { $this->form->fill([ 'title' => 'text', ]); } public function form(Form $form): Form { return $form ->schema([ TextInput::make('title') ->required(), ]) ->statePath('data'); } public function render() { return view('livewire.register-user-and-car-form'); } }
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
I am struggling with this for the last 3 days.
33 replies
FFilament
Created by Stevee on 9/14/2023 in #❓┊help
how to fill form at simple page
Can you please explain how you solved the issue?
33 replies