Ticket #6170 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

Description

Autocomplete pops up even when input is set as readOnly.

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

Change History

comment:1 Changed 4 years ago by scott.gonzalez

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

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 4 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.6

comment:3 Changed 4 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.