Skip to content

Commit ff4bb55

Browse files
committed
docs(input-otp): document as single slash
1 parent d1dc603 commit ff4bb55

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/src/components.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ export namespace Components {
13471347
*/
13481348
"length": number;
13491349
/**
1350-
* A regex pattern string for allowed characters. Defaults based on type. For numbers (`type="number"`): `"[\\p{N}]"` For text (`type="text"`): `"[\\p{L}\\p{N}]"`
1350+
* A regex pattern string for allowed characters. Defaults based on type. For numbers (`type="number"`): `"[\p{N}]"` For text (`type="text"`): `"[\p{L}\p{N}]"`
13511351
*/
13521352
"pattern"?: string;
13531353
/**
@@ -6315,7 +6315,7 @@ declare namespace LocalJSX {
63156315
*/
63166316
"onIonInput"?: (event: IonInputOtpCustomEvent<InputOtpInputEventDetail>) => void;
63176317
/**
6318-
* A regex pattern string for allowed characters. Defaults based on type. For numbers (`type="number"`): `"[\\p{N}]"` For text (`type="text"`): `"[\\p{L}\\p{N}]"`
6318+
* A regex pattern string for allowed characters. Defaults based on type. For numbers (`type="number"`): `"[\p{N}]"` For text (`type="text"`): `"[\p{L}\p{N}]"`
63196319
*/
63206320
"pattern"?: string;
63216321
/**

core/src/components/input-otp/input-otp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ export class InputOTP implements ComponentInterface {
8888
/**
8989
* A regex pattern string for allowed characters. Defaults based on type.
9090
*
91-
* For numbers (`type="number"`): `"[\\p{N}]"`
92-
* For text (`type="text"`): `"[\\p{L}\\p{N}]"`
91+
* For numbers (`type="number"`): `"[\p{N}]"`
92+
* For text (`type="text"`): `"[\p{L}\p{N}]"`
9393
*/
9494
@Prop() pattern?: string;
9595

0 commit comments

Comments
 (0)