Added focusing for capacitor input box in invoice validation
This commit is contained in:
@@ -175,6 +175,9 @@ class InvoiceDataTable extends Component
|
||||
$this->completedInvoice = false;
|
||||
$this->hasSearched = false;
|
||||
$this->materialInvoice = false;
|
||||
$this->dispatch('focus-capacitor-input');
|
||||
|
||||
|
||||
}
|
||||
|
||||
public function cancelCapacitorInput()
|
||||
@@ -339,6 +342,7 @@ class InvoiceDataTable extends Component
|
||||
}
|
||||
$this->showCapacitorInput = false;
|
||||
$this->capacitorInput = '';
|
||||
$this->dispatch('focus-serial-number');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
Reference in New Issue
Block a user