mirror of
https://github.com/siv-org/siv.git
synced 2026-01-09 02:17:57 -05:00
/vote Submit: Disable adding BLANK to approval IDs, which use generated columns
This commit is contained in:
@@ -49,6 +49,7 @@ export const SubmitButton = ({
|
|||||||
if (state.plaintext[id]) return
|
if (state.plaintext[id]) return
|
||||||
if (item.multiple_votes_allowed) return
|
if (item.multiple_votes_allowed) return
|
||||||
if (item.type === 'ranked-choice-irv') return
|
if (item.type === 'ranked-choice-irv') return
|
||||||
|
if (item.type === 'approval') return
|
||||||
|
|
||||||
dispatch({ [id]: 'BLANK' })
|
dispatch({ [id]: 'BLANK' })
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user