Closed (fixed)
Project:
Views Filter Block
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2007 at 20:15 UTC
Updated:
5 Mar 2008 at 17:04 UTC
When using search as an exposed filter, the text field outputs:
Size = 10 is the problem this in only enough room for one keyword. Is there a way to adjust the size?
Comments
Comment #1
bfsworks commentedSorry the html did not post:
Comment #2
douggreen commentedThe SIZE identifier doesn't restrict input, it's the MAXLENGTH identifier that restricts input. So, VFB is restricting the SIZE to 10 just so that the filter fits on the form. A more modern way of doing this would be to use CSS, and that would probably be preferable, but it does this in HTML. But since it's not restricting MAXLENGTH, you should be able to type as many characters as you want, and it should just scroll. That's how it works on my sites and my browser (FireFox), at least.
Comment #3
zeryn commentedThis is one of the sweetest modules I have come across. It has made all the difference in the usability of my site. Thanks!
Anyone know where this HTML specifying SIZE as 10 is located? It needs to be wider for my theme/design and I'm having a rough time finding it!
(I understand I can type 255 characters into it but it would be much more usable at 20.)
Comment #4
douggreen commentedJust change the size in your theme's CSS.
Comment #5
zeryn commentedThanks. I didn't realize the CSS could override the html. For any one else searching on this issue here is what I set in my CSS:
Obviously yours will be different. You can find out what it needs to be with Firebug in Firefox.
Thanks again for your help.