{"id":16462782,"url":"https://github.com/frankyso/ion-input-validator","last_synced_at":"2026-05-11T01:53:09.294Z","repository":{"id":123741103,"uuid":"200322715","full_name":"frankyso/ion-input-validator","owner":"frankyso","description":"Ionic Form Validator","archived":false,"fork":false,"pushed_at":"2019-09-03T07:06:23.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-10T08:25:44.487Z","etag":null,"topics":["angular7","ionic","ionic-apps","ionic4","validation-library","validator"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frankyso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-03T02:36:27.000Z","updated_at":"2019-09-03T07:06:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"d3ca5360-c1a9-4028-989d-2c723eb2cf7c","html_url":"https://github.com/frankyso/ion-input-validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fion-input-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fion-input-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fion-input-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankyso%2Fion-input-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frankyso","download_url":"https://codeload.github.com/frankyso/ion-input-validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240995365,"owners_count":19890723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular7","ionic","ionic-apps","ionic4","validation-library","validator"],"created_at":"2024-10-11T11:12:16.915Z","updated_at":"2026-05-11T01:53:09.214Z","avatar_url":"https://github.com/frankyso.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IONIC Form Validator\n\n\n\n## Getting Started\n\nclone this repo into your project and import ``IonFormValidatorModule`` into your page module\n\n## Implementation\n### HTML Template\n\nInclude your directive into the same tag with ``[FormGroup]``\n\n```\n    \u003cform [formGroup]=\"validator\" formGroupValidator\u003e\n        \u003cdiv class=\"ion-padding-vertical\"\u003e\n```\n\n### On Ts File\n```\n    public validator = this.formBuilder.group({\n    username: ['', [ValidationService.required]],\n    password: ['', [\n        ValidationService.required, \n        ValidationService.startsWith(\"08\")\n    ]]\n  });\n```\n\n## Available Validation Method\n### required\nThe field under validation must be present in the input data and not empty.\n\n### alpha\nThe field under validation must be entirely alphabetic characters.\n\n### alpha_num\nThe field under validation must be entirely alpha-numeric characters.\n\n### password\nThe field under validation must be 6 or more character and must include numeric character.\n\n### confirmed\nThe field under validation must have a matching field of ``foo_confirmation``. For example, if the field under validation is password, a matching ``password_confirmation`` field must be present in the input.\n\n### email\nThe field under validation must be formatted as an e-mail address.\n\n### unique\n\n### numeric\nThe field under validation must be numeric.\n\n### phone\nThe field under validation must be formatted as an phone number.\n\n### min\nThe field under validation must have a minimum value. Strings, numerics, arrays, and files are evaluated in the same fashion as the size rule.\n\n### max\nThe field under validation must be less than or equal to a maximum value. Strings, numerics, arrays, and files are evaluated in the same fashion as the size rule.\n\n### minlength\nThe field under validation must be more than specified value\n\n### startsWith\nThe field under validation must start with one of the given values.\n\n\n## Upcoming Validation Rule Converted from Laravel\n* alpha_dash\n* array\n* before:date\n* before_or_equal:date\n* between:min,max\n* boolean\n* date\n* date_equals:date\n* date_format:format\n* different:field\n* digits:value\n* digits_between:min,max\n* dimensions\n* distinct\n* ends_with:foo,bar,...\n* filled\n* gt:field\n* gte:field\n* in:foo,bar,...\n* in_array:anotherfield.*\n* integer\n* ip\n* ipv4\n* ipv6\n* json\n* lt:field\n* lte:field\n* mimetypes:text/plain,...\n* nullable\n* present\n* regex:pattern\n* required_if:anotherfield,value,...\n* required_unless:anotherfield,value,...\n* required_with:foo,bar,...\n* required_with_all:foo,bar,...\n* required_without:foo,bar,...\n* required_without_all:foo,bar,...\n* same:field\n* size:value\n* string\n* timezone\n* url\n* uuid\n\n## Authors\n\n* **Franky So** - *Initial work*\n\nSee also the list of [contributors](https://github.com/frankyso/ion-input-validator/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n## Acknowledgments\n* This validator inspired by Laravel Validator.\n* Based On Angular Reactive Form Module\n* etc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankyso%2Fion-input-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrankyso%2Fion-input-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankyso%2Fion-input-validator/lists"}