On Feb 5, 8:09 pm, jh744 <[email protected]> wrote:
> All,
>
> I have spent the last 6hrs trying to change the default, size="30",
> that is returned as a result of f.text_field... helper call.  I wanted
> the default width to be '16' for my application.

>
> This modification affects the value stored in
> ActionView::Helpers::InstanceTag::DEFAULT_FIELD_OPTIONS["size"] but
> not the results of f.text_field.
>
Looking at the source, it would appear that the existing
DEFAULT_FIELD_OPTIONS is in ActionView::Helpers::InstanceTagMethods
not ActionView::Helpers::InstanceTag (or was the above a typo?)

Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to