Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mmuqiitf's avatar

Filament bugs when submit form always show my custom modal & cannot close

I am creating a new field called QrCodeInput that has a custom modal in it. The modal contains a camera that will read the QR Code and display the result in the input text, I managed to create that part without any problems. But there is a problem when I submit through the form, the modal always appears. Please help me ASAP about this problem, because I did not find this problem in other issues.

Display Form : Image

Display when pressing the barcode button: Image

Display when pressing submit button:

Image

Code for custom field component: https://github.com/mmuqiitf/app-filament-issue-3.x/blob/main/resources/views/forms/components/qr-code-input.blade.php

Check out my full repo about this problem : https://github.com/mmuqiitf/app-filament-issue-3.x

2 likes
0 replies

Please or to participate in this conversation.