mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-10-14 07:48:17 +01:00
Add onChange event to throughput text field
This commit is contained in:
parent
c3058ee5a9
commit
4664038df0
@ -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();
|
||||
|
||||
|
@ -150,6 +150,9 @@
|
||||
'aria-label': ariaLabel,
|
||||
disabled: overrideWithAutoPilotSettings(),
|
||||
required: isManualThroughputInputFieldRequired()
|
||||
},
|
||||
event:{
|
||||
change: onThroughputChange
|
||||
}"
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user