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

Commit

Permalink
Merge pull request #141 from alvarosaburido/bugfix/number-input-model
Browse files Browse the repository at this point in the history
fix(models): added number and url field types
  • Loading branch information
alvarosabu authored Sep 29, 2020
2 parents 2a2ebbf + 11fe9ce commit ee8f5e4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/core/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ export class EmailInput extends InputBase<string> {
type = 'email';
}

export class NumberInput extends InputBase<number> {
type = 'number';
}

export class UrlInput extends InputBase<string> {
type = 'url';
}

export class PasswordInput extends InputBase<string> {
type = 'password';
}
Expand Down

0 comments on commit ee8f5e4

Please sign in to comment.