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

fix(models): added number and url field types #141

Merged
merged 1 commit into from
Sep 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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