Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#5683 closed bug (wontfix)

icons don't work on input type submit

Reported by: klawd Owned by:
Priority: minor Milestone:
Component: ui.button Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:

Description

http://jsfiddle.net/nxatF/

please see the above fiddle or use this code to see the issue:

<input type="submit" id="foo" name="foo" value="foo"/>
<button id="bar">bar</button>
var options={"icons":{"primary":"ui-icon-disk"}};
$('#foo').button(options);
$('#bar').button(options);

the button will have the icon, the input type submit will not

Change History (3)

comment:1 Changed 9 years ago by rdworth

Resolution: wontfix
Status: newclosed

See documentation http://docs.jquery.com/UI/Button#overview "When using an input of type button, submit or reset, support is limited to plain text labels with no icons."

This is a browser limitation.

comment:2 Changed 9 years ago by rdworth

Component: ui.coreui.button

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

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.