Ticket #5252 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Button: read disabled option from input elements

Reported by: scott.gonzalez Owned by:
Priority: minor Milestone: 1.8.5
Component: ui.button Version: 1.8rc3
Keywords: Cc:
Blocking: Blocked by:

Description

When creating a button from an element that supports the disabled attribute, it should be possible to have the plugin get the initial state from the element's disabled attribute by setting the disabled option to null.

The disabled option should default to null and if the element doesn't support a disabled attribute, then _create() should change a null value to false.

Change History

comment:1 Changed 4 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from 1.next to 1.9

Fixed in  2838c11.

comment:2 Changed 4 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.5

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

Button: Read disabled attribute from original element if disabled option is null. Fixes #5252 -Button: read disabled option from input elements.

Changeset: 2838c11ea8fa1bd8dfffe27a6e28dee6d3e0d423

Note: See TracTickets for help on using tickets.