Skip to content

Commit 59339e4

Browse files
committed
fix inputbox style in AdvanceEndpointConfig
1 parent b9aed01 commit 59339e4

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

portals/publisher/src/main/webapp/source/src/app/components/Apis/Details/Endpoints/AdvancedConfig/AdvanceEndpointConfig.jsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import {
2020
FormControl,
2121
Grid,
2222
Input,
23+
OutlinedInput,
2324
InputLabel,
2425
MenuItem,
2526
Select,
@@ -374,7 +375,7 @@ function AdvanceEndpointConfig(props) {
374375
<Typography className={classes.subTitle}>
375376
<FormattedMessage id='Endpoint.Suspension.State' defaultMessage='Endpoint Suspension State' />
376377
</Typography>
377-
<FormControl className={classes.formControl}>
378+
<FormControl variant='outlined' className={classes.formControl}>
378379
<InputLabel htmlFor='err-code-select'>
379380
<FormattedMessage
380381
id='Apis.Details.Endpoints.AdvancedConfig.AdvanceEndpointConfig.error.code'
@@ -386,7 +387,8 @@ function AdvanceEndpointConfig(props) {
386387
autoWidth={false}
387388
value={advanceConfigObj.suspendErrorCode}
388389
onChange={(event) => handleConfigFieldChange(event, 'suspendErrorCode')}
389-
input={<Input id='err-code-select' />}
390+
input={<OutlinedInput label='Error Code' id='err-code-select' />}
391+
// input={<Input id='err-code-select' />}
390392
MenuProps={MenuProps}
391393
variant='outlined'
392394
renderValue={(allSelected) =>
@@ -460,7 +462,7 @@ function AdvanceEndpointConfig(props) {
460462
defaultMessage='Endpoint Timeout State'
461463
/>
462464
</Typography>
463-
<FormControl className={classes.formControl}>
465+
<FormControl variant='outlined' className={classes.formControl}>
464466
<InputLabel htmlFor='err-code-select'>
465467
<FormattedMessage
466468
id={'Apis.Details.Endpoints.AdvancedConfig.AdvanceEndpointConfig'
@@ -473,7 +475,8 @@ function AdvanceEndpointConfig(props) {
473475
autoWidth={false}
474476
value={advanceConfigObj.retryErroCode}
475477
onChange={(event) => handleConfigFieldChange(event, 'retryErroCode')}
476-
input={<Input id='err-code-select' />}
478+
input={<OutlinedInput label='Error Code' id='err-code-select' />}
479+
// input={<Input id='err-code-select' />}
477480
MenuProps={MenuProps}
478481
renderValue={(allSelected) =>
479482
allSelected.map(selected =>
@@ -527,7 +530,7 @@ function AdvanceEndpointConfig(props) {
527530
<Typography className={classes.subTitle}>
528531
<FormattedMessage id='Connection.Timeout' defaultMessage='Connection Timeout' />
529532
</Typography>
530-
<FormControl className={classes.formControl}>
533+
<FormControl variant='outlined' className={classes.formControl}>
531534
<InputLabel htmlFor='err-code-select'>
532535
<FormattedMessage
533536
id='Apis.Details.Endpoints.AdvancedConfig.AdvanceEndpointConfig.action'
@@ -538,7 +541,8 @@ function AdvanceEndpointConfig(props) {
538541
autoWidth={false}
539542
value={advanceConfigObj.actionSelect}
540543
onChange={(event) => handleConfigFieldChange(event, 'actionSelect')}
541-
input={<Input id='err-code-select' />}
544+
input={<OutlinedInput label='Action' id='err-code-select' />}
545+
// input={<Input id='err-code-select' />}
542546
MenuProps={MenuProps}
543547
>
544548
{actionItems.map((item) => (

0 commit comments

Comments
 (0)