Compare commits

...

1 Commits

Author SHA1 Message Date
artrejo
4664038df0 Add onChange event to throughput text field 2020-12-22 16:59:50 -08:00
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>