Giter Site home page Giter Site logo

stephrdev / django-cruditor Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 4.0 1.63 MB

django-cruditor is a set of generic class based views with Bootstrap templates to build customized CRUD interfaces.

License: MIT License

Python 62.29% JavaScript 20.88% HTML 15.24% Makefile 0.73% SCSS 0.87%

django-cruditor's People

Contributors

deluge avatar dependabot[bot] avatar fpoulain avatar jeromelebleu avatar stephrdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

django-cruditor's Issues

Strange behavior with the novalidate attribute

Hello,
I have an issue with a form which template extends from https://github.com/moccu/django-cruditor/blob/master/cruditor/templates/cruditor/form.html.
The issue seems to originate in the "novalidate" attribute from the form tag in the template right there :
https://github.com/moccu/django-cruditor/blob/81b074dc1c943cee064e774ed0ae80a8291c5497/cruditor/templates/cruditor/form.html#L14
Basically, in my case, when I click my form's validation button, every numerical field in which there are non numerical characters or expressions are emptied before sending the POST request, instead of preventing the form validation and displaying errors.
Although I get the right behavior when I remove the "novalidate" attribute from the form tag.
Is this intended at all ? I was also wondering what purpose is the "novalidate" attribute serving in most cases.
I am relatively new to Django so I guess my question might seem trivial, I'm sorry if it is.

EDIT : To add a bit more context, I'm using Bootstrap with django-tapeforms

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.