Why does GoogleAutocomplete extend component and not field? #85
Unanswered
Dayne-Valourite
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I see the GoogleAutocomplete filament component extends
\Filament\Schemas\Components\Componentand not\Filament\Forms\Components\Fieldwhich prevents us from making use of->required()and->nullable().The issue I've discovered with this, is that if
withFields()has a field marked as required, and the GoogleAutocomplete component is not filled and we make use\Filament\Schemas\Components\Wizard\Stepthen the process fails silently, no errors are thrown, meaning if we do not fill in an address and we click next, no validation error is thrown but rather we cannot access the next step.Beta Was this translation helpful? Give feedback.
All reactions