Closed (fixed)
Project:
mothership
Version:
7.x-2.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 May 2012 at 09:53 UTC
Updated:
20 Sep 2012 at 11:01 UTC
I've found that the attribute type='text' has gone missing.
A possible fix for that would be adding it on line 227 in functions/form.php
$element['#attributes']['type'] = 'text';
It might be related to http://drupal.org/node/1539398#comment-5973946
| Comment | File | Size | Author |
|---|---|---|---|
| inputfields.jpg | 160.22 KB | driesdelaey |
Comments
Comment #1
driesdelaey commentedha. I just overlooked this. 2 lines further it was actually documented
I was having issues with the type-attribute being removed, in combination with the twitter bootstrap:
twitter bootstrap sets a fixed width/height on input elements, which causes box-sizing issues. I was fixing that with the input[type=text] in css, but I'll have to come up with another solution for that.
although it might be an idea to add this as an option to the theme settings?
'use type attribute for input elements' ? (since use input[type="..."] instead in the css is actually adviced if you check the setting Remove form-[type] class from form field
kind regard,
Dries
Comment #2
mortendk commentedactually it make sense to keep the type here - i was a little bit to quick on the trigger.
without this it can make the css a little bit to cumbersome to work with & that wasnt the idea ;)
Comment #3
mortendk commentedactually it make sense to keep the type here - i was a little bit to quick on the trigger.
without this it can make the css a little bit to cumbersome to work with & that wasnt the idea ;)
Comment #4
gagarine commentedSo this was fixed?
Comment #5
mortendk commentedyes its fixed in the 7.x.2.7 version beta5