client creation bug fixes

This commit is contained in:
Casey 2025-11-25 08:03:46 -06:00
parent cb33d0c3b3
commit 2ea20a86e3
7 changed files with 52 additions and 19 deletions

View file

@ -262,6 +262,7 @@ const formData = ref({
onMounted(() => {
if (props.isNew) {
resetForm();
isNewClientMode.value = true; // Set to true for new client mode
console.log("Mounted in new client mode - initialized empty form");
} else if (props.clientData && Object.keys(props.clientData).length > 0) {
populateFormFromClientData();