Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit ee8f5e4

Browse files
authored
Merge pull request #141 from alvarosaburido/bugfix/number-input-model
fix(models): added number and url field types
2 parents 2a2ebbf + 11fe9ce commit ee8f5e4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/core/models.ts

+8
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ export class EmailInput extends InputBase<string> {
7171
type = 'email';
7272
}
7373

74+
export class NumberInput extends InputBase<number> {
75+
type = 'number';
76+
}
77+
78+
export class UrlInput extends InputBase<string> {
79+
type = 'url';
80+
}
81+
7482
export class PasswordInput extends InputBase<string> {
7583
type = 'password';
7684
}

0 commit comments

Comments
 (0)