Skip to content

Commit ea5e2ad

Browse files
committed
deployment template input added
1 parent 728c305 commit ea5e2ad

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/components/deploymentConfig/DeploymentTemplateView/DeploymentTemplateGUIView.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -211,15 +211,14 @@ export default function DeploymentTemplateGUIView({ fetchingValues, value, readO
211211
<div className="mb-12">
212212
<div className="row-container mb-12">
213213
{renderLabel('Host', 'Host name')}
214-
<input
214+
<CustomInput
215215
type="text"
216216
data-testid="httprequests-routes-host-textbox"
217217
name={BASIC_FIELDS.HOST}
218218
value={currentBasicFieldValues?.[BASIC_FIELDS.HOSTS]?.[0][BASIC_FIELDS.HOST]}
219-
className="w-100 br-4 en-2 bw-1 pl-10 pr-10 pt-5 pb-5"
219+
rootClassName="w-100 br-4 en-2 bw-1 pl-10 pr-10 pt-5 pb-5"
220220
onChange={handleInputChange}
221221
readOnly={readOnly}
222-
autoComplete="off"
223222
/>
224223
</div>
225224
<div className="row-container mb-4">
@@ -238,16 +237,14 @@ export default function DeploymentTemplateGUIView({ fetchingValues, value, readO
238237
(path: string, index: number) => (
239238
<div className="row-container mb-4" key={`${BASIC_FIELDS.PATH}-${index}`}>
240239
<div />
241-
<input
242-
type="text"
240+
<CustomInput
243241
data-testid="httprequests-routes-path-textbox"
244242
name={BASIC_FIELDS.PATH}
245243
data-index={index}
246244
value={path}
247-
className="w-100 br-4 en-2 bw-1 pl-10 pr-10 pt-5 pb-5"
245+
rootClassName="w-100 br-4 en-2 bw-1 pl-10 pr-10 pt-5 pb-5"
248246
onChange={handleInputChange}
249247
readOnly={readOnly}
250-
autoComplete="off"
251248
/>
252249
<Close
253250
className="option-close-icon icon-dim-16 mt-8 mr-8 pointer"

0 commit comments

Comments
 (0)