Submit on blur option

Created on 29 November 2012, almost 12 years ago
Updated 15 September 2024, 2 months ago

During some test I noticed users wouldn't confirm a value by pressing enter on by selecting a item with the mouse.
So I'm now submitting also "on blur", when a user presses tab or mouse clicks somewhere else.
This can be done in the 7.x-2.x-dev version by adding the following in autocomplete_deluxe.js to the blur function.

var value = jqObject.val();
if(value != '') {
  var ui_item = {
    label: value,
    value: value
  };
  self.addValue(ui_item);
}

Would be great if this could be an configurable option.

Feature request
Status

Closed: outdated

Version

2.0

Component

User interface

Created by

🇳🇱Netherlands peteruithoven

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024