Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#6170 closed bug (fixed)

autocomplete pops up on readOnly inputs

Reported by: vaporetto Owned by:
Priority: minor Milestone: 1.8.6
Component: ui.autocomplete Version: 1.8.5
Keywords: Cc:
Blocked by: Blocking:

Description

Autocomplete pops up even when input is set as readOnly.

eg : <input id="myinput" type="text" value="" /> $("#myinput").attr("readonly", true);

Change History (3)

comment:1 Changed 5 years ago by scottgonzalez

  • Component changed from ui.core to ui.autocomplete
  • Milestone changed from TBD to 1.9
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 450d030.

I think this was only a problem in Firefox, so other browsers don't allow you to interact with readonly fields.

comment:2 Changed 5 years ago by scottgonzalez

  • Milestone changed from 1.9 to 1.8.6

comment:3 Changed 5 years ago by Scott González

Autocomplete: Don't react to key events on readonly inputs. Fixes #6170 - autocomplete pops up on readOnly inputs.

Changeset: 450d0306dd748d7efa18d29edc16cebde90b4d11

Note: See TracTickets for help on using tickets.