Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 9bded2e

Browse files
mmalerbakara
authored andcommitted
chore(): add form field docs and guide items (#278)
1 parent fd086cb commit 9bded2e

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

src/app/shared/documentation-items/documentation-items.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ const DOCS = [
2020
{id: 'autocomplete', name: 'Autocomplete', examples: ['autocomplete-overview']},
2121
{id: 'checkbox', name: 'Checkbox', examples: ['checkbox-configurable']},
2222
{id: 'datepicker', name: 'Datepicker', examples: ['datepicker-overview']},
23+
{
24+
id: 'form-field',
25+
name: 'Form field',
26+
examples: [
27+
'form-field-overview',
28+
'form-field-placeholder',
29+
'form-field-hint',
30+
'form-field-error',
31+
'form-field-prefix-suffix',
32+
'form-field-theming',
33+
'form-field-custom-control',
34+
]
35+
},
2336
{id: 'input', name: 'Input', examples: ['input-form']},
2437
{id: 'radio', name: 'Radio button', examples: ['radio-ng-model']},
2538
{id: 'select', name: 'Select', examples: ['select-form']},

src/app/shared/guide-items/guide-items.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,14 @@ const GUIDES = [
3434
},
3535
{
3636
id: 'customizing-component-styles',
37-
name: 'Customizing Component Styles',
37+
name: 'Customizing component styles',
3838
document: '/assets/documents/guides/customizing-component-styles.html'
39-
}
39+
},
40+
{
41+
id: 'creating-a-custom-form-field-control',
42+
name: 'Creating a custom form field control',
43+
document: '/assets/documents/guides/creating-a-custom-form-field-control.html'
44+
},
4045
];
4146

4247
@Injectable()

0 commit comments

Comments
 (0)