From a2a5407b154d4d4dd0f8c9e70c0b61daf638a25b Mon Sep 17 00:00:00 2001 From: MokireddySampath <120497218+MokireddySampath@users.noreply.github.com> Date: Thu, 4 Jan 2024 19:33:55 +0530 Subject: [PATCH] Label has been added to the text field on selecting autoscale in throughputc (#1676) --- src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx b/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx index 1236681eb..77fa8aaa0 100644 --- a/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx +++ b/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx @@ -276,6 +276,12 @@ export const ThroughputInput: FunctionComponent = ({ . + + + {isDatabase ? "Database" : getCollectionName()} Required RU/s + + {getAutoScaleTooltip()} + = ({ min={SharedConstants.CollectionCreation.DefaultCollectionRUs400} max={userContext.isTryCosmosDBSubscription ? Constants.TryCosmosExperience.maxRU : Infinity} value={throughput.toString()} - aria-label="Max request units per second" + ariaLabel={`${isDatabase ? "Database" : getCollectionName()} Required RU/s`} required={true} errorMessage={throughputError} />