Skip to content

Commit f4b28f3

Browse files
committed
Change type of autocapitalize propertie of ion-input
Fix #21463
1 parent 698e526 commit f4b28f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/input/input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class Input implements ComponentInterface {
4242
/**
4343
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
4444
*/
45-
@Prop() autocapitalize = 'off';
45+
@Prop() autocapitalize: "on" | "off" = "off";
4646

4747
/**
4848
* Indicates whether the value of the control can be automatically completed by the browser.

0 commit comments

Comments
 (0)