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
Stephen J. Fuhry
80af5b7dbd
Merge pull request #5 from martez81/dev
...
Modified shadowing classes to define widget property
2015-06-06 15:43:12 -04: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
Stephen J. Fuhry
2cca7f4def
Merge pull request #3 from SmileyJames/master
...
Increased Field and Validator support.
2015-03-05 08:33:29 -05:00
James O'Toole
079e8c8dc0
Fixed typo
2015-03-05 11:50:42 +00:00
James O'Toole
31f3917ff5
Updated README
2015-02-28 22:33:30 +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
2eb9929216
Fixed checking is in array incorrectly
2015-02-26 01:24:26 +00:00
James O'Toole
04c2ef7f88
remove console logging
2015-02-26 01:13:51 +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
71f8c99d5b
Grammar correction, pointed out by fuhrysteve
2015-02-17 17:08:23 +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
87b9cf2a1d
Improved data-parsley-datefield validator, fixed previous issue of '%Y-%m-%d' being matched by '1996-2-'.
2015-02-15 04:59:17 +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
Stephen J. Fuhry
9180ad23c3
Merge pull request #2 from SmileyJames/master
...
Fixed RadioField, and added InputRequired support.
2015-02-12 15:34:45 -05: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
Stephen J. Fuhry
06d5657f0c
Merge pull request #1 from SmileyJames/master
...
Corrected length kwargs
2015-02-11 19:19:16 -05: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
9e056767bc
Bumps to version 0.1.4
2014-02-06 21:12:17 +01:00
johannes-gehrs
1298d3ff98
updates setup.py for wtforms 1.0.5
2014-02-06 21:04:44 +01:00
johannes-gehrs
0f2b5809df
updates sample for wtform 1.0.5
2014-02-06 21:04:01 +01:00
Johannes Gehrs
801b3ea8be
Merge pull request #6 from synthsym/master
...
Update to WTForms 1.0.5
2014-02-06 20:46:03 +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
7f7b10cbfb
Update wtforms to 1.0.5
2014-02-05 22:31:46 +10:00
Adam Jacobus
c66b04d42f
Update fields and validators to 1.0.5
2014-02-05 22:30:59 +10:00
johannes-gehrs
36a7c176cb
bumps to next version for pypi
2013-12-04 10:44:57 +01: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