CSR-803: add comment

This commit is contained in:
Adam Caouette 2022-09-14 09:41:21 -04:00
parent d59378588b
commit 922597ca65

View file

@ -36,8 +36,8 @@ export default {
glassIndex: Number,
},
async created() {
// validate form upon create to prevent out of sync / persistent valid states
await useValidateForm(); // do a test validation check, without triggering full validation
// do a test validation check upon create to prevent out of sync / incorrect valid states
await useValidateForm(); // NOTE: needs to have async/await here; tested and won't work without it
this.questionData.map((q, i) => {
const question = {