Handling checkbox with select inputs for now

A plain checkbox won't properly handle indeterminate state.
This commit is contained in:
Ansis Brammanis
2013-02-27 13:37:10 -05:00
parent b22fd84421
commit cb58ab546d

View File

@@ -76,11 +76,6 @@ iD.ui.preset = function(context) {
.attr('id', 'input-' + d.key)
.attr('placeholder', 'http://example.com/');
break;
case 'check':
i = this.append('input')
.attr('type', 'checkbox')
.attr('id', 'input-' + d.key);
break;
case 'select':
wrap = this.append('span').attr('class', 'input-wrap-position'),
i = wrap.append('input').attr('type', 'text');