Training-Report #27

Merged
Ajdj100 merged 47 commits from Training-Report into main 2025-11-22 14:20:51 -06:00
Showing only changes of commit 0da44cbd34 - Show all commits

View File

@@ -17,6 +17,7 @@ import { Plus, X } from 'lucide-vue-next';
import FieldSet from '../ui/field/FieldSet.vue'
import FieldLegend from '../ui/field/FieldLegend.vue'
import FieldDescription from '../ui/field/FieldDescription.vue'
import Checkbox from '../ui/checkbox/Checkbox.vue'
const { handleSubmit, resetForm, errors } = useForm({
validationSchema: toTypedSchema(trainingReportSchema),
@@ -44,10 +45,7 @@ function onSubmit(vals) {
...vals,
event_date: toMySQLDateTime(new Date(vals.event_date)),
}
postTrainingReport(clean);
console.log("SUBMITTED:", clean)
} catch (err) {
console.log("There was an error submitting the training report", err);
}