Issues

ZF-3961: value must be optional for buttons

Issue Type: Bug Created: 2008-08-15T12:13:11.000+0000 Last Updated: 2011-11-07T16:47:21.000+0000 Status: Resolved Fix version(s): Reporter: Bernd Matzner (bmatzner) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Dojo

Related issues: - ZF-5056

Attachments:

Description

CUrrently, there's no way to achieve a button (or submitbutton or resetbutton for that matter) without the "value" attribute. IE will, however, display the value instead of the button contents + iconClass as does FF. This may be regarded as a Dojo problem, but still I'd prefer we have control over the generated code by not including "value" as tag attribute.

Comments

Posted by Bernd Matzner (bmatzner) on 2008-09-05T11:17:16.000+0000

Actually, this isn't a Dojo problem, but a browser issue, so "value" must be omitted when creating button dijits unless specifically added in the attributes array.

Posted by Bernd Matzner (bmatzner) on 2008-10-22T08:07:51.000+0000

This problem has been annoying me over the past three months, and neither here nor on the forums have I received any response regarding this issue. I would love to provide a resolution if only I understood why the value is notoriously injected in button code, even if manually setting value to null won't do, so I keep resorting to manually coding button HTML, which surely isn't the point of the framework... Please at least set the status to confirmed or will not fix

Posted by Matthew Weier O'Phinney (matthew) on 2008-11-07T09:49:53.000+0000

Fixed in trunk with r12374; will release with 1.7.0

Posted by Bernd Matzner (bmatzner) on 2008-11-07T13:28:23.000+0000

Thanks, that's great!

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts