Giter Site home page Giter Site logo

Comments (9)

caacree avatar caacree commented on May 30, 2024

Not sure why this hasn't been implemented, I just ran into it as well. It's an easy fix, but should definitely be implemented into the field.

Instead of step="any", set it to be based on the number of decimal places. ie. step=".01" for decimal places=2 on the field, etc.

from django-floppyforms.

gregmuellegger avatar gregmuellegger commented on May 30, 2024

Yep that's a great idea! I think that ticket just slipped through our attention.
I would be great to have this in the project. Would you like to implement that in a pull request?

from django-floppyforms.

caacree avatar caacree commented on May 30, 2024

I've never contributed to a project before, but I'll give it a shot. Give me a few hours and I'll be back to work it out.

from django-floppyforms.

gregmuellegger avatar gregmuellegger commented on May 30, 2024

Great that you want to give it a shot! Feel free to ask any question if you can't get along.
A good place to start is usually to write a failing test. Because then you have the confidence that the patch you are developing will do exactly what you want.

from django-floppyforms.

marcoala avatar marcoala commented on May 30, 2024

Stepped into this one as well, @caacree are you still working on this? I could try to write a patch for it

from django-floppyforms.

gregmuellegger avatar gregmuellegger commented on May 30, 2024

@marcoala Sure, go ahead :) Cheers for stepping up.

from django-floppyforms.

caacree avatar caacree commented on May 30, 2024

Sorry guys, totally forgot about this until I saw it in my email this morning. Honestly slipped my mind.

Just submitted the pull request.

from django-floppyforms.

caacree avatar caacree commented on May 30, 2024

Hey Greg, sorry about that the first time around. Let me know if the tests pass now (not sure if there's a way I can see TravisCI stuff inside Github or I need it installed myself?).

Thanks.

from django-floppyforms.

gregmuellegger avatar gregmuellegger commented on May 30, 2024

I just release django-floppyforms 1.5.0 which includes the changes for this ticket. Happy coding.

from django-floppyforms.

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.