F
Filament2mo ago
zoya!

Pass Data From Filament TextInput to Livewire Component

I have added a livewire component on the create page of resource and wanted to pass a TextInput::make(url) to the Livewire component on the same page named SiteDetails. I can easily view the Livewire component one i open the create record page. But if I try adding the text in TextInput::make(url)->live() after it's state gets updated the Livewire component refresh and no data can be seen I try login the passed variable but it was null. Any refrences or help might be very useful thank you.
TextInput::make('url')
->label('URL')
->url()
->prefixIcon('heroicon-m-globe-alt')
->live()
->required(),
TextInput::make('url')
->label('URL')
->url()
->prefixIcon('heroicon-m-globe-alt')
->live()
->required(),
0 Replies
No replies yetBe the first to reply to this messageJoin