subschema-plugin-type-restricted
v4.1.3
Published
Restrict the input format. Its a little barbaric but has the built in restrictions
Downloads
16
Readme
Restrict the input format. Its a little barbaric but has the built in restrictions
The formatter attribute can have the following
- uszip - US Zip Code
- capitalize - Capitalize the first letter.
- title - barbaric title casing.
- shortDate - MM/YY format.
- creditcard - Don't use its just an idea. Real credit card numbers have all sorts of formats.
- 1 (###) ### #### - It will restirced the # in any format
See the example