mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
fix(alert): set input value
This commit is contained in:
@ -167,7 +167,6 @@ export class Alert implements OverlayInterface {
|
||||
rbButton.handler(rbButton);
|
||||
}
|
||||
}
|
||||
|
||||
private cbClick(inputIndex: number) {
|
||||
this.inputs = this.inputs.map((input, index) => {
|
||||
if (inputIndex === index) {
|
||||
@ -285,6 +284,7 @@ export class Alert implements OverlayInterface {
|
||||
type={i.type}
|
||||
min={i.min}
|
||||
max={i.max}
|
||||
onInput={e => i.value = (e.target as any).value}
|
||||
id={i.id}
|
||||
disabled={i.disabled}
|
||||
tabIndex={0}
|
||||
|
Reference in New Issue
Block a user