Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#5252 closed enhancement (fixed)

Button: read disabled option from input elements

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

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 (3)

comment:1 Changed 5 years ago by scottgonzalez

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

Fixed in 2838c11.

comment:2 Changed 5 years ago by scottgonzalez

  • Milestone changed from 1.9 to 1.8.5

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