Closed (fixed)
Project:
Address Field
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2012 at 21:49 UTC
Updated:
28 Nov 2013 at 02:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hass commentedMoving to Address Field as I have found that a value of
0is invalid per API docs http://api.drupal.org/api/drupal/developer%21topics%21forms_api_referenc...Per http://www.quackit.com/html_5/tags/html_select_tag.cfm
Comment #2
goron commentedI encountered this too. It can be a problem when formatting select elements, for instance with formalize.css.
This patch fixes the issue. Just removed one line. I'm not sure why that line was there in the first place, doesn't seem like it's needed for anything.
Comment #3
goron commentedI see now that the line was there to "cancel" the #size property that may have been set before on the element. But it should be unset rather than zeroed. Here's a new patch.
Comment #4
hass commentedGreat that you found the reason for this line. We should add a short comment about the reason.
Comment #5
rszrama commentedCommitted with comments. Thanks!
Commit: http://drupalcode.org/project/addressfield.git/commitdiff/efba8b0cdb9d83...