filamentphp/filament

MDE behaves differently when submitted via mouse click vs keyBinding

已關閉

#12,858 建立於 2024年5月19日

 (8 則留言) (0 個反應) (0 位負責人)PHP (4,162 個分叉)batch import
bughelp wantedlow priorityunconfirmed

倉庫指標

星標
 (30,736 顆星)
PR 合併指標
 (平均合併 3天 15小時) (30 天內合併 55 個 PR)

描述

Package

filament/forms

Package Version

3.2.80

Laravel Version

11.7.0

Livewire Version

3.4.12

PHP Version

8.2.18

Problem description

The behavior of clicking on submit vs pressing the registered keyBinding() is different. Clicking will clear the form. (correct) Pressing the shortcut key does not. (incorrect)

Expected behavior

Pressing the shortcut key should also clear the form.

Steps to reproduce

  1. Type something into the markdown editor at /admin/issue
  2. Press ctrl + enter

Reproduction repository

https://github.com/bilogic/filament-issue/tree/click-different-from-keyBindings

Relevant log output

https://github.com/filamentphp/filament/assets/946010/fb144bf9-802f-4003-8dcd-ec4c2148e742

No response

貢獻者指南