Commit Graph
49 Commits
Author SHA1 Message Date
gitea f449f2013b Added telephone field example 2016-01-07 08:40:26 +08:00
gitea 8499caddf7 Added html inputs, fields, and samples 2016-01-07 08:32:24 +08:00
martez81 0888df17b0 Modified shadowing classes to define widget property instead of passing widget explicitly in constructor. This fixes issue with assigninig different widget by user. 2015-05-30 14:15:37 -04:00
James O'Toole 079e8c8dc0 Fixed typo 2015-03-05 11:50:42 +00:00
James O'Toole dcc54d192f data trigger is now change even if the field doesn't have a validator, because some fields are validated by default 2015-02-26 01:49:10 +00:00
James O'Toole 6e9bbafbe1 Updated sample 2015-02-26 01:46:55 +00:00
James O'Toole 5063f10015 Made multiple selects actually render as multiple selects 2015-02-25 15:59:22 +00:00
James O'Toole c54a36ce7a Forgot to import json 2015-02-17 17:05:07 +00:00
James O'Toole 3bc3c9c971 Using json.dumps as suggested by fuhrysteve 2015-02-17 17:04:22 +00:00
James O'Toole b4073dda58 Removed inlist validator, because is is no longer in Parsley since 2.x, replaced with a custom valdidator 2015-02-17 12:32:31 +00:00
James O'Toole be67c5cf69 Fixed FileInput and TextArea not rendering kwarg attributes 2015-02-17 12:14:06 +00:00
James O'Toole b41c1726f2 Spelling error, _mac_addresss_kwargs => _mac_adress_kwargs 2015-02-17 11:48:25 +00:00
James O'Toole b77c2c40a8 Removed error, FileInput defined as function not class 2015-02-17 11:46:58 +00:00
James O'Toole 1378b29a2c Added support for SelectMultipleField 2015-02-17 06:24:21 +00:00
James O'Toole 69acc56916 Added file field 2015-02-16 21:21:36 +00:00
James O'Toole fd8efee64b Implemented default validation for FloatField, DecimalField and IntegerField, using data-parsley-type's number and integer. 2015-02-15 04:47:40 +00:00
James O'Toole cc156b1f84 Implemented validation for DateField and DateTimeField, uses a custom validation script, which currently need some work. 2015-02-15 04:27:06 +00:00
James O'Toole 4be20fe74d Implemented the NoneOf validator, using a custom parsley validator 2015-02-15 02:03:37 +00:00
James O'Toole 28d1e84eaf Implemented UUID validator, regex is the same as used by WTForms 2015-02-15 01:48:28 +00:00
James O'Toole 830743eb6e Added forgotten import 2015-02-15 01:44:47 +00:00
James O'Toole 7e62b61991 Implemented MacAddress validator, regex used is the same as used by WTForms, it is EMCAScript and Python compatible 2015-02-15 01:43:09 +00:00
James O'Toole c6ae2ae252 Incorrect attribute corrected, data-parsley-regex should be data-parsley-pattern 2015-02-15 01:37:57 +00:00
James O'Toole 5008cae28f Incorrect attribute corrected, data-parsley-regex should be data-parsley-pattern 2015-02-15 01:31:54 +00:00
SmileyJames 33232db048 Prevent parsley attributes showing in RadioField list container 2015-02-12 18:08:31 +00:00
SmileyJames 37410c2e18 Fixed RadioField and added support for InputRequired 2015-02-12 17:50:17 +00:00
SmileyJames 01d7e1cf02 Corrected length kwargs
As can be seen in the parsley docs (http://parsleyjs.org/doc/index.html#psly-validators-list) data-parsley-length should be used not data-parsley-rangelength
2015-02-11 23:50:40 +00:00
Stephen J. Fuhry 1137698e1a missed copypasta 2014-09-01 00:54:44 +00:00
Stephen J. Fuhry fcb12e3ea0 support for wtforms 2.x and upgrading to parsley 2
also adding a few new field types
2014-08-31 18:22:15 +00:00
johannes-gehrs 0f2b5809df updates sample for wtform 1.0.5 2014-02-06 21:04:01 +01:00
Adam Jacobus 614217c6f4 un-update author 2014-02-05 22:35:19 +10:00
Adam Jacobus 8bb4374783 Change author 2014-02-05 22:32:27 +10:00
Adam Jacobus c66b04d42f Update fields and validators to 1.0.5 2014-02-05 22:30:59 +10:00
johannes-gehrs e505e9a081 adopts the markup to new parsley version 2013-12-04 10:38:25 +01:00
Johannes Gehrs 1bc00cf8ae Merge pull request #4 from DiscoveryHorizon/master
Handles unlimited range numbers
2013-12-04 00:30:47 -08:00
Sean Brant 3d1e038744 Handles unlimited rangelength values
WTForms uses -1 to denote no minlength/maxlength value. This makes the rangelength
validators incorrect. This patch falls back to minlength/maxlength
validation when one of the length values is -1.
2013-12-03 15:19:14 -06:00
Sean Brant bc9ed5ffdc Revert "Handles unlimited range numbers"
This reverts commit 5ef767c4e1.
2013-12-03 15:16:12 -06:00
johannes-gehrs 1ad8c2b071 fix in code description
update parsley submodule
2013-12-03 17:53:49 +01:00
Sean Brant 5ef767c4e1 Handles unlimited range numbers
WTForms uses -1 to denote not min/max value. This makes the range and rangelength
validators incorrect. This patch falls back to min/max and minlength/maxlength
validation when one of the range values is -1.
2013-12-02 16:28:19 -06:00
= 94356633bc py3 import path fix 2013-11-11 23:17:01 +01:00
Johannes Gehrs 942e06e188 fixes #1 2013-08-30 17:39:40 +02:00
Johannes Gehrs e0949570d5 updates README with installation info
various small improvements
2013-07-01 23:52:24 +02:00
Johannes Gehrs 4f42c42798 correct submodule path mistake 2013-06-30 20:48:33 +02:00
Johannes Gehrs 97aab77e2b correct submodule path mistake 2013-06-30 18:49:37 +02:00
Johannes Gehrs 2eab40a87a correct submodule path mistake 2013-06-30 18:40:41 +02:00
Johannes Gehrs 514784fe29 moves License file 2013-06-30 18:35:30 +02:00
Johannes Gehrs 4ef6267487 adds parsleyJS submodule 2013-06-30 18:11:46 +02:00
Johannes Gehrs 5c4a5af873 many improvements
cleaned up package structure
included read me
2013-06-30 17:05:16 +02:00
Johannes Gehrs 02073fe052 add parsley's as submodule 2013-06-24 23:33:34 +02:00
Johannes Gehrs 945884b973 changed structure to package 2013-06-24 23:28:32 +02:00