Set duration for success message in production quantity page
This commit is contained in:
@@ -339,7 +339,8 @@ class ProductionQuantityPage extends Page implements HasForms
|
||||
->label('Item Code')
|
||||
->columnSpan(1)
|
||||
->autofocus(true)
|
||||
->reactive()
|
||||
//->reactive()
|
||||
->live(onBlur: true) // avoids per-keystroke triggering
|
||||
->default(fn () => $this->clear_qr)
|
||||
->extraAttributes([
|
||||
'wire:keydown.enter' => 'processAllValues($event.target.value)',
|
||||
@@ -1281,6 +1282,7 @@ class ProductionQuantityPage extends Page implements HasForms
|
||||
->title("Valid QR Found") // {$operatorName}
|
||||
->body("Valid QR code scanned: {$this->qrData}.")
|
||||
->success()
|
||||
->duration(200)
|
||||
->send();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user