ryangjchandler / filament-navigation

Build structured navigation menus in Filament.
MIT License
168 stars 64 forks source link

clear add child form before showing #102

Open msajjad650 opened 10 months ago

msajjad650 commented 10 months ago

Problem In the navigation,

  1. If you click edit an item, popup will show with form pre-filled,
  2. Cancel the popup and then click on add child,
  3. add child popup will show the previous data filled in form.

Solution I added $this->mountedItem = null; $this->mountedActionData = [];

in addChild function in HandlesNavigationBuilder trait

dstalenbring commented 1 week ago

Bumping this one!