/vote Submit: Disable adding BLANK to approval IDs, which use generated columns

This commit is contained in:
David Ernst
2026-01-01 01:49:09 -08:00
parent f8064adfd2
commit 8b1fc93142

View File

@@ -49,6 +49,7 @@ export const SubmitButton = ({
if (state.plaintext[id]) return
if (item.multiple_votes_allowed) return
if (item.type === 'ranked-choice-irv') return
if (item.type === 'approval') return
dispatch({ [id]: 'BLANK' })
})