diff --git a/css/backoffice/components/input/_input-select.scss b/css/backoffice/components/input/_input-select.scss index 223f1cad3..b21158340 100644 --- a/css/backoffice/components/input/_input-select.scss +++ b/css/backoffice/components/input/_input-select.scss @@ -64,6 +64,8 @@ $ibo-input-select--autocomplete-item-image--border: 1px solid $ibo-color-grey-60 color: inherit; border-color: $ibo-color-white-100; padding-left: $ibo-input-select--padding-x; + + @extend %ibo-font-ral-nor-150; } > [data-value] { diff --git a/js/extkeywidget.js b/js/extkeywidget.js index 713a40e0c..f51f5a21c 100644 --- a/js/extkeywidget.js +++ b/js/extkeywidget.js @@ -25,8 +25,10 @@ Selectize.define('custom_itop', function(aOptions) { if (this.$control_input.val() === '' && !this.$activeItems.length) { iIndex = this.caretPos-1; if (iIndex >= 0 && iIndex < this.items.length) { + let sPreviousValue = this.options[this.items[iIndex]].label; this.clear(true); e.preventDefault(); + this.setTextboxValue(sPreviousValue.slice(0, -1)); return; } }