Skip to content

Commit

Permalink
fix: Fix the malfunctioning port field in the service source form (hi…
Browse files Browse the repository at this point in the history
  • Loading branch information
CH3CHO authored Jun 12, 2024
1 parent f3890b3 commit a13c8a3
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,15 @@ const SourceForm: React.FC = forwardRef((props, ref) => {
},
]}
>
<Input
allowClear
type="number"
min={1}
max={65535}
placeholder={t('serviceSource.serviceSourceForm.portPlaceholder')}
/>
<Form.Item name="port" noStyle>
<Input
allowClear
type="number"
min={1}
max={65535}
placeholder={t('serviceSource.serviceSourceForm.portPlaceholder')}
/>
</Form.Item>
{
sourceType === ServiceSourceTypes.nacos2.key &&
(
Expand Down

0 comments on commit a13c8a3

Please sign in to comment.