fix: Reset save button after error handling
feat: Clear review mode and revert to edit mode when navigating to next item feat: Implement close button functionality fix: Handle edge case with zero delivery notes feat: Add new type field with free text option fix: Enable cancellation reversal in WarehouseAdmin improve: Enhance article search autocomplete functionality
This commit is contained in:
@@ -126,7 +126,7 @@ Vue.component('tt-autocomplete', {
|
||||
this.displayValue = response.data[0].text;
|
||||
} else if (this.value) {
|
||||
const selectedItem = this.items.find(item => item.value === this.value);
|
||||
this.displayValue = selectedItem ? selectedItem.text : '';
|
||||
this.displayValue = selectedItem ? selectedItem.text : this.displayValue;
|
||||
} else {
|
||||
if (this.returnText === false && !(typeof this.value === 'undefined' || this.value === '')) this.$emit('input', '');
|
||||
this.displayValue = this.displayValue.replace(this.oldDisplayValue, '');
|
||||
|
||||
Reference in New Issue
Block a user