From 820d3650ff81233e999f5147759dabbeb5b58733 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Fri, 26 Jun 2026 12:29:24 -0400 Subject: [PATCH] PC Number defaults to serial number (editable) On a new PC, the PC Number (assetnumber) auto-fills from the serial number as it is typed, but stops auto-filling once the user edits it manually. Edit mode never auto-overwrites. Co-Authored-By: Claude Opus 4.8 --- frontend/src/views/pcs/PCForm.vue | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/pcs/PCForm.vue b/frontend/src/views/pcs/PCForm.vue index 93debf1..49beeae 100644 --- a/frontend/src/views/pcs/PCForm.vue +++ b/frontend/src/views/pcs/PCForm.vue @@ -17,7 +17,9 @@ type="text" class="form-control" required + @input="onPcNumberInput" /> + Defaults to the serial number; editable
@@ -266,7 +268,7 @@