diff --git a/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx b/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx index 1a6d633d7..b3b90b085 100644 --- a/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx +++ b/src/Explorer/Controls/ThroughputInput/ThroughputInput.tsx @@ -249,6 +249,7 @@ export const ThroughputInput: FunctionComponent = ({ onChange={(event, newInput?: string) => onThroughputValueChange(newInput)} step={AutoPilotUtils.autoPilotIncrementStep} min={AutoPilotUtils.autoPilotThroughput1K} + max={isSharded ? Number.MAX_SAFE_INTEGER.toString() : "10000"} value={throughput.toString()} ariaLabel={`${isDatabase ? "Database" : getCollectionName()} max RU/s`} required={true} diff --git a/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap b/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap index d9ffce3b4..4848f04f8 100644 --- a/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap +++ b/src/Explorer/Controls/ThroughputInput/__snapshots__/ThroughputInput.test.tsx.snap @@ -1644,6 +1644,7 @@ exports[`ThroughputInput Pane should render Default properly 1`] = ` errorMessage="" id="autoscaleRUValueField" key=".0:$.2" + max="9007199254740991" min={1000} onChange={[Function]} required={true} @@ -1667,6 +1668,7 @@ exports[`ThroughputInput Pane should render Default properly 1`] = ` deferredValidationTime={200} errorMessage="" id="autoscaleRUValueField" + max="9007199254740991" min={1000} onChange={[Function]} required={true} @@ -1964,6 +1966,7 @@ exports[`ThroughputInput Pane should render Default properly 1`] = ` aria-label="Container max RU/s" className="ms-TextField-field field-64" id="autoscaleRUValueField" + max="9007199254740991" min={1000} onBlur={[Function]} onChange={[Function]}