Merge pull request 'added capacitor null in text box' (#276) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Reviewed-on: #276
This commit was merged in pull request #276.
This commit is contained in:
@@ -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