Git Product home page Git Product logo

Comments (7)

josevalim avatar josevalim commented on July 28, 2024

Ok, first one, the gem is called simple_form. ;)

Anyway, I believe you can turn this value off by setting it to nil on your config/initializers/simple_form.rb. If not, a patch is definitely welcome. :D

from simple_form.

wernerlaude avatar wernerlaude commented on July 28, 2024

Hi Josevalim..
sorry yes.. simple_form Version 1.0.1
There is nothing specific to set to nil, have to write something?

from simple_form.

josevalim avatar josevalim commented on July 28, 2024

You can set this configuration value to nil:

http://github.com/plataformatec/simple_form/blob/master/lib/generators/simple_form/templates/simple_form.rb#L44

from simple_form.

wernerlaude avatar wernerlaude commented on July 28, 2024

thanks..this entry is not in my file...I will check that out..

from simple_form.

wernerlaude avatar wernerlaude commented on July 28, 2024

sorry...
initializers/simple_form.rb:45: undefined method `default_input_size=' for SimpleForm:Module (NoMethodError)

from simple_form.

josevalim avatar josevalim commented on July 28, 2024

Hrm, so it's not supported on this version. Just the v1.2 (which is for Rails 3). :(

from simple_form.

colinramsay avatar colinramsay commented on July 28, 2024

<%= f.input :first_name, :input_html => { :size => 50 } %>

from simple_form.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.