juzhiyuan commented on a change in pull request #1603:
URL: https://github.com/apache/apisix-dashboard/pull/1603#discussion_r596702858



##########
File path: web/src/components/Upstream/UpstreamForm.tsx
##########
@@ -728,8 +727,14 @@ const UpstreamForm: React.FC<Props> = forwardRef(
                     <Form.Item
                       label={formatMessage({ id: 
'page.upstream.step.pass-host.upstream_host' })}
                       name="upstream_host"
+                      rules={[
+                        {
+                          required: true,
+                          message: "",

Review comment:
       because when users leave this field empty, the input box will have a red 
border to alert them 🤔 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to