conditional configureusing
I am using
configureUsing
function to set up all my text inputs to uppercase. However, this causes an issue with the reset password feature, as the email field also becomes uppercase and the database is unable to find any email due to the case sensitivity. Is it possible to set all inputs to uppercase except for the email field?Solution:Jump to solution
check it in the configureUsing
```php
->configureUsing(function (TextInput $input) {
if (! $input->isEmail()) {...
2 Replies
Solution
check it in the configureUsing
Thank you leandro. This makes sense, but it doesn't work as expected because the reset password view only has a regular text input.
protected function getEmailFormComponent(): Component { return TextInput::make('email') ->label(__('filament-panels::pages/auth/password-reset/reset-password.form.email.label')) ->disabled() ->autofocus(); }but I can use the name of input, witch solve