Add onChange event to throughput text field

This commit is contained in:
artrejo 2020-12-22 16:59:50 -08:00
parent c3058ee5a9
commit 4664038df0
2 changed files with 7 additions and 0 deletions

View File

@ -267,6 +267,10 @@ export class ThroughputInputViewModel extends WaitsForTemplateViewModel {
return true;
};
public onThroughputChange = (source: any) => {
window.alert("onThroughputChange");
};
private _getSanitizedValue(): number {
let throughput = this.value();

View File

@ -150,6 +150,9 @@
'aria-label': ariaLabel,
disabled: overrideWithAutoPilotSettings(),
required: isManualThroughputInputFieldRequired()
},
event:{
change: onThroughputChange
}"
/>
</div>