Merge remote-tracking branch 'hodigabi/issue-8871' into develop

This commit is contained in:
Martin Raifer
2022-01-28 12:34:39 +01:00
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -77,6 +77,7 @@ export function uiCombobox(context, klass) {
function mousedown(d3_event) {
if (d3_event.button !== 0) return; // left click only
if (input.classed('disabled')) return;
_tDown = +new Date();
// clear selection
@@ -95,6 +96,7 @@ export function uiCombobox(context, klass) {
function mouseup(d3_event) {
input.on('mouseup.combo-input', null);
if (d3_event.button !== 0) return; // left click only
if (input.classed('disabled')) return;
if (input.node() !== document.activeElement) return; // exit if this input is not focused
var start = input.property('selectionStart');
+1 -1
View File
@@ -213,7 +213,7 @@ export function uiFieldLocalized(field, context) {
localizedInputs.selectAll('button, input')
.classed('disabled', !!isLocked)
.attr('readonly', isLocked || null);
selection.selectAll('.combobox-caret').classed('nope', true);
function addNew(d3_event) {