mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user