added capacitor null in text box #276
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user