fix(alert): accepts any value (#16476)

fixes #16170
This commit is contained in:
Manu MA
2018-11-27 16:29:12 +01:00
committed by GitHub
parent 69f63b3849
commit 50b0c6f15d
4 changed files with 86 additions and 3 deletions

View File

@ -156,7 +156,7 @@ export class Alert implements ComponentInterface, OverlayInterface {
type: i.type || 'text',
name: i.name || `${index}`,
placeholder: i.placeholder || '',
value: i.value || '',
value: i.value,
label: i.label,
checked: !!i.checked,
disabled: !!i.disabled,