1
0
forked from poc/pds

added capacitor null in text box

This commit is contained in:
dhanabalan
2026-01-29 17:40:41 +05:30
parent 9a9051b884
commit 738f81043d

View File

@@ -559,12 +559,13 @@ class InvoiceDataTable extends Component
if (! preg_match('/^[^\/]+\/[^\/]+\/.+$/', $this->capacitorInput)) { if (! preg_match('/^[^\/]+\/[^\/]+\/.+$/', $this->capacitorInput)) {
Notification::make() Notification::make()
->title('Invalid Panel Box QR Format:') ->title('Invalid Panel Box QR Format:')
->body('Scan the valid panel box QR code to proceed!') ->body("Scan the valid panel box QR '$this->capacitorInput' to proceed!")
->danger() ->danger()
// ->duration(3000) // ->duration(3000)
->seconds(2) ->seconds(2)
->send(); ->send();
$this->capacitorInput = '';
return; return;
} }