Skip to main content

Search and Top Navigation

#6758 closed bug (notabug)

Opened December 17, 2010 07:50AM UTC

Closed December 17, 2010 01:07PM UTC

Last modified December 22, 2010 01:19PM UTC

autocomplete: then type value by keys completely, select event do not issued

Reported by: opa Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.7
Keywords: Cc:
Blocked by: Blocking:
Description

I have value list (1,2,3,4)

When I type 2 and press tab or click on submit button. Value is inputed completely but select event do not issued

Attachments (0)
Change History (5)

Changed December 17, 2010 09:12AM UTC by opa comment:1

onclose check INPUT value with menu and select if exists

Changed December 17, 2010 10:42AM UTC by opa comment:2

and then i type unexisting case (menu is empty) mark input as .ui-state-error

Changed December 17, 2010 01:07PM UTC by scottgonzalez comment:3

resolution: → invalid
status: newclosed

This is by design, the user hasn't explicitly selected a value. There's an extension that implements this.

Changed December 22, 2010 10:14AM UTC by opa comment:4

Replying to [comment:3 scott.gonzalez]:

This is by design, the user hasn't explicitly selected a value. There's an extension that implements this.

Thank you. Extension helped me.

Does it nice to have link to extension in widget documentation?

Extension also has a bug: It issues select event regardless changing of value. It is right use change event, not blur.

Changed December 22, 2010 01:19PM UTC by scottgonzalez comment:5

We can't possibly link to every single extension for every single widget, that would be insane to maintain and sort out the good extensions. Also, selecting has nothing to do with changing, you can select an item a million times before the change event even has a chance to be triggered. Any further discussion should happen on the forums.