Skip to content

Commit b8e1608

Browse files
authored
Added necessary input fields
fixed my errors
1 parent 9c3b8bd commit b8e1608

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/module/component/mat-google-maps-autocomplete.component.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,19 @@ export class MatGoogleMapsAutocompleteComponent implements OnInit {
2626

2727
@ViewChild('search')
2828
public searchElementRef: ElementRef;
29-
29+
30+
@Input()
31+
addressLabelText: string = 'Address';
32+
33+
@Input()
34+
placeholderText: string = 'Please enter the address';
35+
36+
@Input()
37+
requiredErrorText: string = 'The address is <strong>required</strong>';
38+
39+
@Input()
40+
invalidErrorText: string = 'The address is <strong>not valid</strong>';
41+
3042
@Input()
3143
appearance: string | Appearance = Appearance.STANDARD;
3244

0 commit comments

Comments
 (0)