Code Monkey home page Code Monkey logo

wtforms-parsleyjs's People

Contributors

dezza avatar johannes-gehrs avatar synthsym avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wtforms-parsleyjs's Issues

Compatibility with parsleyjs 2.0

Right of the bat wtforms-parsleyjs does not work with parsleyjs 2.0 due to changes to default attribute namespace. In order to adjust that form tag needs to define a remap for namespace e.g. data-parsley-namespace="parsley-".

typo in IP regex

there is a typo in the regex that match IP. the first '.' is not escaped, it should be

kwargs[u'data-regexp'] =\
    r'^\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.' \
    ......

Just some questions.

I would like to start by saying that this looks like a really interesting project, and I'm interested in contributing.
I am looking to use this for a personal project, for this I would need to validate radio buttons.
I was wondering why radio buttons and other widgets have not been implemented?

Error when using SelectMultipleField styled as checkboxes

I'm using multi-checkbox form element following solution from http://wtforms.simplecodes.com/docs/1.0.1/specific_problems.html (bottom of the page)
I'm getting this error:
File ".../python3.4/site-packages/wtformsparsleyjs/core.py", line 292, in __init__ super(SelectMultipleField, self).__init__(widget=Select(multiple=True), *args, **kwargs) TypeError: __init__() got multiple values for keyword argument 'widget'

I don't quite understand why there is a need to overwrite default widgets from parent classes?

Some initial issues

Validators class could not be imported from wtformsparsleyjs
Also TextAreaField could not be imported

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.