|
1 | 1 | <p align="center">
|
2 | 2 | <a href="https://www.ProAngular.com" target="_blank">
|
3 |
| - <img src="public/images/pro-angular-logo.png" /> |
| 3 | + <img src="https://raw.githubusercontent.com/ProAngular/pro-form/refs/heads/main/public/images/pro-angular-logo.png" /> |
4 | 4 | </a>
|
5 | 5 | <h1 align="center">
|
6 | 6 | <a href="https://www.ProAngular.com" target="_blank">Pro Angular</a>: Form Components
|
7 | 7 | </h1>
|
8 | 8 | </p>
|
9 | 9 |
|
| 10 | +<!----------------------------------------------------------------------------> |
| 11 | +<!----------------------------------------------------------------------------> |
| 12 | +<!----------------------------------------------------------------------------> |
| 13 | + |
10 | 14 | [](https://www.npmjs.com/@proangular/pro-form)
|
11 | 15 | [](https://github.com/ProAngular/pro-form)
|
12 | 16 | [](https://github.com/ProAngular/pro-form/search?l=typescript)
|
|
23 | 27 | [](https://github.com/ProAngular/pro-form/actions/workflows/on-merge-main-deploy-gpr.yml)
|
24 | 28 | [](https://github.com/ProAngular/pro-form/actions/workflows/on-merge-main-deploy-npmjs.yml)
|
25 | 29 |
|
| 30 | +<!----------------------------------------------------------------------------> |
| 31 | +<!----------------------------------------------------------------------------> |
| 32 | +<!----------------------------------------------------------------------------> |
| 33 | + |
26 | 34 | ## Index <a name="index"></a>
|
27 | 35 |
|
28 | 36 | - [Preview](#preview)
|
@@ -156,29 +164,47 @@ application where used:
|
156 | 164 |
|
157 | 165 | ...
|
158 | 166 |
|
159 |
| -// or component |
| 167 | +// Or import to component |
160 | 168 | @Component({
|
161 | 169 | ...
|
162 | 170 | imports: [
|
163 | 171 | + InputComponent,
|
164 | 172 | ...
|
165 | 173 | ],
|
166 | 174 | })
|
| 175 | + |
| 176 | +... |
| 177 | + |
| 178 | +// Then use in template |
| 179 | ++ <form [formGroup]="formGroup"> |
| 180 | ++ <pro-input [formControl]="formGroup.controls.input" /> |
| 181 | ++ <pro-input-checkbox ... /> |
| 182 | ++ <pro-input-datepicker ... /> |
| 183 | ++ <pro-input-dropdown ... /> |
| 184 | ++ <pro-input-radio ... /> |
| 185 | ++ <pro-input-textarea ... /> |
| 186 | ++ <pro-input-timepicker ... /> |
| 187 | ++ <pro-input-toggle ... /> |
| 188 | ++ ... |
| 189 | ++ </form> |
167 | 190 | ```
|
168 | 191 |
|
| 192 | +> ![Info][img-info] See an the example form code [here][url-example-form-code], |
| 193 | +> or a live demo [here][url-demo]. |
| 194 | +
|
169 | 195 | <p align="right">[ <a href="#index">Index</a> ]</p>
|
170 | 196 |
|
171 | 197 | <!---------------------------------------------------------------------------->
|
172 | 198 | <!---------------------------------------------------------------------------->
|
173 | 199 | <!---------------------------------------------------------------------------->
|
174 | 200 |
|
175 |
| -## Compatibility <a name="usage"></a> |
| 201 | +## Compatibility <a name="compatibility"></a> |
176 | 202 |
|
177 |
| -| Angular version | @proangular/pro-form | Status | |
178 |
| -| --------------- | -------------------- | ---------- | |
179 |
| -| v19 | v19.0.0 | Compatible | |
180 |
| -| v18 | ------ | Untested | |
181 |
| -| v17 | ------ | Untested | |
| 203 | +| Angular version | @proangular/pro-form | Install | |
| 204 | +| --------------- | -------------------- | ------------------------------- | |
| 205 | +| v19 | v19.x.x | ng add @proangular/pro-form@^19 | |
| 206 | +| v18 | ------ | Untested | |
| 207 | +| v17 | ------ | Untested | |
182 | 208 |
|
183 | 209 | <p align="right">[ <a href="#index">Index</a> ]</p>
|
184 | 210 |
|
@@ -240,18 +266,23 @@ Thank you to the entire Angular team and community for such a great framework to
|
240 | 266 | build upon. If you have any questions, please let me know by opening an issue
|
241 | 267 | [here][url-new-issue].
|
242 | 268 |
|
243 |
| -| Type | Info | |
244 |
| -| :------------------------------------------------------------------------ | :------------------------------------------------------------- | |
245 |
| -| < img width= "48" src= ".github/images/ng-icons/email.svg" /> | [email protected] | |
246 |
| -| <img width="48" src=".github/images/simple-icons/github.svg" /> | https://github.com/sponsors/CodyTolene | |
247 |
| -| <img width="48" src=".github/images/simple-icons/buymeacoffee.svg" /> | https://www.buymeacoffee.com/codytolene | |
248 |
| -| <img width="48" src=".github/images/simple-icons/bitcoin-btc-logo.svg" /> | bc1qfx3lvspkj0q077u3gnrnxqkqwyvcku2nml86wmudy7yf2u8edmqq0a5vnt | |
| 269 | +| Type | Info | |
| 270 | +| :---------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------- | |
| 271 | +| < img width= "48" src= "https://raw.githubusercontent.com/ProAngular/pro-form/refs/heads/main/.github/images/ng-icons/email.svg" /> | [email protected] | |
| 272 | +| <img width="48" src="https://raw.githubusercontent.com/ProAngular/pro-form/refs/heads/main/.github/images/simple-icons/github.svg" /> | https://github.com/sponsors/CodyTolene | |
| 273 | +| <img width="48" src="https://raw.githubusercontent.com/ProAngular/pro-form/refs/heads/main/.github/images/simple-icons/buymeacoffee.svg" /> | https://www.buymeacoffee.com/codytolene | |
| 274 | +| <img width="48" src="https://raw.githubusercontent.com/ProAngular/pro-form/refs/heads/main/.github/images/simple-icons/bitcoin-btc-logo.svg" /> | bc1qfx3lvspkj0q077u3gnrnxqkqwyvcku2nml86wmudy7yf2u8edmqq0a5vnt | |
249 | 275 |
|
250 | 276 | Fin. Happy programming friend!
|
251 | 277 |
|
252 | 278 | Cody Tolene
|
253 | 279 |
|
254 | 280 | <!-- LINKS -->
|
255 | 281 |
|
| 282 | +[img-info]: |
| 283 | + https://raw.githubusercontent.com/ProAngular/pro-form/refs/heads/main/.github/images/ng-icons/info.svg |
| 284 | +[url-demo]: https://www.ProAngular.com/demos/pro-form |
| 285 | +[url-example-form-code]: |
| 286 | + https://github.com/ProAngular/pro-form/blob/main/src/app/form/form.component.html |
256 | 287 | [url-new-issue]: https://github.com/ProAngular/pro-form/issues
|
257 | 288 | [url-node-js]: https://nodejs.org/
|
0 commit comments