diff --git a/modules/ui/fields/check.js b/modules/ui/fields/check.js index e660d6aaa..4c38222aa 100644 --- a/modules/ui/fields/check.js +++ b/modules/ui/fields/check.js @@ -149,7 +149,11 @@ export function uiFieldCheck(field, context) { check.tags = function(tags) { checkImpliedYes(); - value = tags[field.key]; + value = tags[field.key] && tags[field.key].toLowerCase(); + + if (field.type === 'onewayCheck' && (value === '1' || value === '-1')) { + value = 'yes'; + } input .property('indeterminate', field.type !== 'defaultCheck' && !value)