mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Handling checkbox with select inputs for now
A plain checkbox won't properly handle indeterminate state.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user