© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
bahamagician

Wire Model on Custom Field Class Variable

Maybe a silly question, but when I'm building a custom field, is there any way to use wire:model on a public variable from the custom field class? The input I'm using it on isn't the field I want to bind to the main field value. It's for additional functionality of searching an external API. Right now if I try to use wire:model on a public variable in the custom field class I get an error because it's looking for that variable on the pages.create class.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Undefined variable in custom field
FilamentFFilament / ❓┊help
3y ago
Select in custom livewire component with searchable removes wire.model
FilamentFFilament / ❓┊help
2y ago
Form field macro accessing the model or resource class
FilamentFFilament / ❓┊help
3y ago
Undefined variable $canSelectPlaceholder using Select in Custom Field
FilamentFFilament / ❓┊help
3y ago