{"id":28484369,"url":"https://github.com/bitflower/angular-inputmodeller-directive","last_synced_at":"2025-06-29T18:31:22.465Z","repository":{"id":20109310,"uuid":"23379017","full_name":"bitflower/angular-inputmodeller-directive","owner":"bitflower","description":"Directive to format/limit/prepend the entered input value BEFORE it goes to the model.","archived":false,"fork":false,"pushed_at":"2014-10-06T07:43:23.000Z","size":200,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-24T23:20:00.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/bitflower.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}},"created_at":"2014-08-27T06:16:06.000Z","updated_at":"2015-06-01T06:12:02.000Z","dependencies_parsed_at":"2022-08-31T05:41:35.936Z","dependency_job_id":null,"html_url":"https://github.com/bitflower/angular-inputmodeller-directive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bitflower/angular-inputmodeller-directive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitflower%2Fangular-inputmodeller-directive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitflower%2Fangular-inputmodeller-directive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitflower%2Fangular-inputmodeller-directive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitflower%2Fangular-inputmodeller-directive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitflower","download_url":"https://codeload.github.com/bitflower/angular-inputmodeller-directive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitflower%2Fangular-inputmodeller-directive/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262646969,"owners_count":23342560,"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":[],"created_at":"2025-06-07T22:06:48.032Z","updated_at":"2025-06-29T18:31:22.458Z","avatar_url":"https://github.com/bitflower.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"angular-inputmodeller-directive\n===============================\n\nDirective to format / limit / prepend text to the entered input value BEFORE it goes to the model.\n\nExample of an input for entering valid table names with:\n* a prepend text\n* uppercase formatting\n* only alpha-numeric characters and _ allowed\n* and a max length of 25 characters:\n```html\n\u003cinput type=\"text\" ng-model=\"myName\" ng-maxlength=\"25\" bf-input-modeller bf-prepend-text=\"ABC_\" bf-prevent-space=\"true\" bf-upper-case=\"true\" bf-alpha-underscore=\"true\" ng-trim=\"false\" id=\"txtName\" class=\"form-control\" placeholder=\"Name\" /\u003e\n```\n\nRenders to:\n\n![No errors](http://www.bitflower.net/keeponline/bfInputModeller_render.png)\n\nWhen you delete back to \"ABC_\" and reach the prepend text which can't be deleted:\n\n![Error prepend text](http://www.bitflower.net/keeponline/bfInputModeller_render_red1.png)\n\nWhen you enter \"\u0026%$test   !!!\" the non alpha-numeric characters will be removed, inluding space, and the text will be uppercased:\n\n![Error prepend text](http://www.bitflower.net/keeponline/bfInputModeller_render_blue1.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitflower%2Fangular-inputmodeller-directive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitflower%2Fangular-inputmodeller-directive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitflower%2Fangular-inputmodeller-directive/lists"}