{"id":19311976,"url":"https://github.com/weblineindia/vue-password-component","last_synced_at":"2026-04-07T05:31:33.472Z","repository":{"id":129985129,"uuid":"275146799","full_name":"weblineindia/Vue-Password-Component","owner":"weblineindia","description":"A VueJS based Password component to add password as a text/password property with validation. The password value is automatically validated on blur event. You can also disable and hide password field using disable and hide props.","archived":false,"fork":false,"pushed_at":"2023-12-27T07:58:07.000Z","size":47,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-05T02:47:04.715Z","etag":null,"topics":["password-component","password-validation","password-validator","vue","vue-component","vue-component-library","vue-components","vue-password-component","vue-plugin","vue-plugins","vuecomponent","vuecomponents","vuejs","vuejs-component","vuejs-components","vuejs-library","vuejs-password-component","vuejs-plugin","vuejs-snippets"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/communities.html","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weblineindia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-06-26T12:06:53.000Z","updated_at":"2023-12-27T07:51:05.000Z","dependencies_parsed_at":"2023-04-22T17:23:03.877Z","dependency_job_id":null,"html_url":"https://github.com/weblineindia/Vue-Password-Component","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/weblineindia%2FVue-Password-Component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FVue-Password-Component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FVue-Password-Component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FVue-Password-Component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/Vue-Password-Component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223900372,"owners_count":17222028,"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":["password-component","password-validation","password-validator","vue","vue-component","vue-component-library","vue-components","vue-password-component","vue-plugin","vue-plugins","vuecomponent","vuecomponents","vuejs","vuejs-component","vuejs-components","vuejs-library","vuejs-password-component","vuejs-plugin","vuejs-snippets"],"created_at":"2024-11-10T00:31:48.858Z","updated_at":"2026-04-07T05:31:33.454Z","avatar_url":"https://github.com/weblineindia.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue-password-component\n\nA Vue password component is provide to add password as a text/password property with validation.\nThe password value is automatically validated on blur event.\nYou can also disable and hide password field using disable and hide  props.\n\n## Table of contents\n\n- [Browser Support](#browser-support)\n- [Demo](#demo)\n- [Getting started](#getting-started)\n- [Usage](#usage)\n- [Available Props](#available-props)\n- [Methods](#methods)\n- [Want to Contribute?](#want-to-contribute)\n- [Need Help / Support?](#need-help)\n- [Collection of Components](#collection-of-components)\n- [Changelog](#changelog)\n- [License](#license)\n- [Keywords](#Keywords)\n\n## Browser Support\n\n| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |\n| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| 83.0 ✔                                                                                   | 77.0 ✔                                                                                      | 13.1.1 ✔                                                                                 | 83.0 ✔                                                                             | 11.9 ✔                                                                                                                       |\n\n## Demo\n\n[![](password.gif)](https://github.com/weblineindia/Vue-Password-Component/password.gif)\n\n## Getting started\n\nInstall the npm package:\n\n```bash\nnpm install vue-weblineindia-password\n#OR\nyarn add vue-weblineindia-password\n```\n\n## Usage\n\nUse the `\u003cvue-weblineindia-password\u003e` component:\n\n```vue\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    \u003cpassword\n      id=\"password\"\n      name=\"password\"\n      :tabindex=\"1\"\n      :placeholder=\"'password'\"\n      :hide=\"false\"\n      :value=\"passwordValue\"\n      :disabled=\"false\"\n      :is-view-password=\"true\"\n      :passwordFieldType=\"'password'\"\n      @change=\"onChangePassword\"\n      @blur=\"onBlur\"\n      @focus=\"onFocus\"\n    /\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport password from \"vue-weblineindia-password\";\nexport default {\n  components: { password },\n  data: function() {\n    return {\n      passwordValue: \"\"\n    };\n  },\n\n  methods: {\n    /** on change password*/\n    onChangePassword(value, id) {\n      this.passwordValue = value;\n    },\n\n    /** on blur password field*/\n    onBlur(event, placeholder, errorObj) {\n      event.target.placeholder = placeholder;\n    },\n\n    /** on focus password field*/\n    onFocus(event) {\n      event.target.placeholder = \"\";\n    }\n  }\n};\n\u003c/script\u003e\n```\n\n## Available Props\n\n| Prop           | Type    | default     | Description        |\n| -------------- | ------- | ----------- | ------------------ |\n| paswordMaxLength          | Number  |    255         | max length for password          |\n| passwordFieldType     | String  | password    | field type of password(like text or password)           |\n| passwordErrorName | String  |  The password field must be at least 3 characters           | error name for password      |\n| placeholder    | String  | password | password placeholder    |\n| disabled       | Boolean | false       | disable password field  |\n| name           | String  | password | name for password field |\n| tabindex       | Number  | 1           | password tabIndex       |\n| id             | String  | password | name for password field |\n| hide           | Boolean | false       | for hide password field |\n| isViewPassword           | Boolean | true       | To hide/show eye icon |\n| value           | String |        | value for password  |\n| hide           | Boolean | false       | for hide password field |\n\n\n## Methods\n\n| Name     | Description                                             |\n| -------- | ------------------------------------------------------- |\n| focus    | Gets triggered when the password input field receives focus. |\n| blur   | Gets triggered when the password input field loses focus.    |\n| change | Gets triggered every time password got changed.              |\n\n## Want to Contribute?\n\n- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).\n- [Fork it](http://help.github.com/forking/).\n- Create new branch to contribute your changes.\n- Commit all your changes to your branch.\n- Submit a [pull request](http://help.github.com/pull-requests/).\n\n---\n\n## Need Help?\n\nWe also provide a free, basic support for all users who want to use this VueJS password Component in their software project. In case you want to customize this VueJS password Component to suit your development needs, then feel free to contact our [VueJS developers](https://www.weblineindia.com/hire-vuejs-developer.html).\n\n---\n\n## Collection of Components\n\nWe have built many other components and free resources for software development in various programming languages. Kindly click here to view our [Free Resources for Software Development](https://www.weblineindia.com/communities.html)\n\n---\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/weblineindia/Vue-Password-Component/blob/master/LICENSE\n\n## Keywords\n\nvue-weblineindia-password,password,vue components,vuejs,vuejs component\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Fvue-password-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Fvue-password-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Fvue-password-component/lists"}