POS search client/customer and Select not working

When you are on POS and you type a customer name eg. John the search shows all available but when selecting the Customer it returns the typed letters and not the selected Customer …
Checked the code and on Desk.min.js Bind_change_event which instead of adding the new selected value still gets the old typed value.

bind_change_event: function bind_change_event() {
var me = this;
this.$input && this.$input.on(“change”, this.change || function (e) {
me.parse_validate_and_set_in_model(me.get_input_value(), e);
});
},

Still trying to figure out a solution …

Solution found and posted on Git.

https://github.com/frappe/erpnext/issues/10705