laravel / nova-issues

557 stars 34 forks source link

Pressing enter key in a edit form submits but doesn't redirect #4899

Closed dmason30 closed 2 years ago

dmason30 commented 2 years ago

BUG: Pressing enter key on edit:

  1. Fill a edit form with valid data
  2. With a field in focus
  3. Press enter key
  4. Resource is updated
  5. Page refreshes and displays the edit form

I was able to replicate this with either a Text or Select field focused. Expected to redirect?

WORKING: Pressing enter on create:

  1. Fill a create form with valid data
  2. With a field in focus
  3. Press enter key
  4. Resource created
  5. Redirected to newly created resource details page

WORKING: Clicking save button on create/edit:

  1. Fill form with valid data
  2. With a field in focus
  3. Click save button
  4. Resource is saved
  5. Redirected to resource details page
github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.