mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 22:46:38 +02:00
Adjust multiCombo styling
This commit is contained in:
@@ -247,9 +247,10 @@ iD.ui.preset.multiCombo = function(field, context) {
|
||||
var available = objectDifference(comboData, multiData);
|
||||
combobox.data(available);
|
||||
|
||||
// Hide "Add" button if there are no available multiselect options remaining..
|
||||
// Hide "Add" button if this field uses fixed set of
|
||||
// translateable optstrings and they're all currently used..
|
||||
container.selectAll('.combobox-input, .combobox-caret')
|
||||
.classed('hide', !available.length);
|
||||
.classed('hide', optstrings && !available.length);
|
||||
|
||||
|
||||
// Render chips
|
||||
|
||||
Reference in New Issue
Block a user