{"id":18486234,"url":"https://github.com/mathsgod/formkit-ionic","last_synced_at":"2026-01-22T06:38:18.823Z","repository":{"id":111496876,"uuid":"564668779","full_name":"mathsgod/formkit-ionic","owner":"mathsgod","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-23T02:40:20.000Z","size":225,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-25T14:41:20.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/mathsgod.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":"2022-11-11T08:08:36.000Z","updated_at":"2023-11-11T09:49:27.000Z","dependencies_parsed_at":"2023-04-29T14:31:16.335Z","dependency_job_id":null,"html_url":"https://github.com/mathsgod/formkit-ionic","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/mathsgod%2Fformkit-ionic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fformkit-ionic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fformkit-ionic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fformkit-ionic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathsgod","download_url":"https://codeload.github.com/mathsgod/formkit-ionic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239201660,"owners_count":19599079,"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":"2024-11-06T12:48:30.030Z","updated_at":"2025-10-31T14:30:31.658Z","avatar_url":"https://github.com/mathsgod.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# formkit-ionic\n\n## Setup\n\n1. This plugin requires the [Ionic](https://ionicframework.com/docs/vue/quickstart) and [FormKit](https://formkit.com/)\n2. Setup in main.ts\n```typescript\nconst app = createApp(App);\n\nimport { plugin, defaultConfig } from '@formkit/vue'\nimport { createIonicPlugin } from \"formkit-ionic\";\napp.use(plugin, defaultConfig({\n    plugins: [createIonicPlugin()]\n}))\n```\n\n## Usage\n\n### Basic\n\n```html \n\u003cscript setup \u003e\nimport { ref } from \"vue\";\nlet data = ref({})\n\nlet options = {\n  bacon: 'Bacon',\n  sausage: 'Sausage',\n  egg: 'Egg',\n  cheese: 'Cheese',\n  tomato: 'Tomato',\n  mushroom: 'Mushroom',\n  onion: 'Onion',\n  pepper: 'Pepper',\n  lettuce: 'Lettuce',\n  avocado: 'Avocado',\n  olive: 'Olive',\n  corn: 'Corn',\n  carrot: 'Carrot',\n  cucumber: 'Cucumber',\n};\n\nlet onSubmit = () =\u003e {\n  console.log(data.value);\n};\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    \u003cpre wrap\u003e{{ data }}\u003c/pre\u003e\n\n    \u003cFormKit type=\"form\" v-model=\"data\" :actions=\"false\" @submit=\"onSubmit\"\u003e\n\n\n      \u003cFormKit type=\"ionInput\" name=\"input1\" label=\"input1\" validation=\"required|email\"\n        placeholder=\"this is a placeholder\" label-position=\"stacked\" help=\"this is a help text\" clear-input /\u003e\n\n      \u003cFormKit type=\"ionInput\" input-type=\"password\" name=\"input1\" label=\"Password\" validation=\"required\"\n        placeholder=\"this is a placeholder\" label-position=\"stacked\" help=\"this is a help text\" clear-input /\u003e\n\n\n      \u003cFormKit type=\"ionSelect\" name=\"select1\" label=\"ionSelect\" validation=\"required\" label-position=\"stacked\"\n        placeholder=\"Select one\" help=\"this is a help text\" :options=\"options\"\u003e\n      \u003c/FormKit\u003e\n\n      \u003cFormKit type=\"ionTextarea\" name=\"textarea1\" label=\"ionTextarea\" label-position=\"stacked\" /\u003e\n      \n      \u003cion-row\u003e\n        \u003cion-col\u003e\n          \u003cion-button type=\"submit\" color=\"danger\" expand=\"block\"\u003eSign In\u003c/ion-button\u003e\n        \u003c/ion-col\u003e\n      \u003c/ion-row\u003e\n    \u003c/FormKit\u003e\n\n\n\n\n  \u003c/div\u003e\n\n\u003c/template\u003e\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fformkit-ionic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathsgod%2Fformkit-ionic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fformkit-ionic/lists"}