-
-
Notifications
You must be signed in to change notification settings - Fork 935
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The single line for input is poor UX in my opinion - it makes inputs look unclear in certain cases. I've restyled form inputs to better match usual styling. Closes #60
- Loading branch information
1 parent
9cb73ae
commit 438802d
Showing
26 changed files
with
428 additions
and
351 deletions.
There are no files selected for viewing
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
30 changes: 13 additions & 17 deletions
30
...c/app/catalog/components/create-option-group-form/create-option-group-form.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,19 +1,15 @@ | ||
<form class="form" [formGroup]="optionGroupForm"> | ||
<section class="form-block"> | ||
<vdr-form-field [label]="'catalog.option-group-name' | translate" for="name"> | ||
<input id="name" type="text" formControlName="name" (input)="updateCode($event.target.value)" /> | ||
</vdr-form-field> | ||
<vdr-form-field [label]="'catalog.option-group-code' | translate" for="code" [readOnlyToggle]="true"> | ||
<input id="code" type="text" formControlName="code" /> | ||
</vdr-form-field> | ||
<vdr-form-field | ||
[label]="'catalog.option-group-options-label' | translate" | ||
[tooltip]=" | ||
'catalog.option-group-options-tooltip' | translate: { defaultLanguage: defaultLanguage } | ||
" | ||
for="options" | ||
> | ||
<textarea id="options" type="text" formControlName="options" rows="10"></textarea> | ||
</vdr-form-field> | ||
</section> | ||
<vdr-form-field [label]="'catalog.option-group-name' | translate" for="name"> | ||
<input id="name" type="text" formControlName="name" (input)="updateCode($event.target.value)" /> | ||
</vdr-form-field> | ||
<vdr-form-field [label]="'catalog.option-group-code' | translate" for="code" [readOnlyToggle]="true"> | ||
<input id="code" type="text" formControlName="code" /> | ||
</vdr-form-field> | ||
<vdr-form-field | ||
[label]="'catalog.option-group-options-label' | translate" | ||
[tooltip]="'catalog.option-group-options-tooltip' | translate: { defaultLanguage: defaultLanguage }" | ||
for="options" | ||
> | ||
<textarea id="options" type="text" formControlName="options" rows="10"></textarea> | ||
</vdr-form-field> | ||
</form> |
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
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
Oops, something went wrong.