-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1179 improve input group reactive form examples
- Loading branch information
Showing
7 changed files
with
23 additions
and
54 deletions.
There are no files selected for viewing
15 changes: 12 additions & 3 deletions
15
...documentation/component-docs/input-group/examples/input-group-form-example.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
<form [formGroup]="customForm"> | ||
<label fd-form-label>Search Input</label> | ||
<fd-input-group-search [placeholder]="'Search'" formControlName="searchQuery"></fd-input-group-search> | ||
<div fd-form-set class="flex-form-set"> | ||
<div fd-form-item> | ||
<label fd-form-label>Search Input</label> | ||
<fd-input-group-search [placeholder]="'Search'" formControlName="searchQuery"></fd-input-group-search> | ||
Search Query Entered: {{ customForm.controls.searchQuery.value }} | ||
</div> | ||
<div fd-form-item> | ||
<label fd-form-label>Quantity Spinner</label> | ||
<fd-input-group-number formControlName="number"></fd-input-group-number> | ||
Number Entered: {{ customForm.controls?.number?.value }} | ||
</div> | ||
</div> | ||
</form> | ||
<br /> | ||
|
||
Search Query Entered: {{ customForm.controls.searchQuery.value }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
...tation/component-docs/input-group/examples/input-group-number-form-example.component.html
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...entation/component-docs/input-group/examples/input-group-number-form-example.component.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters