You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/09/16 16:57:19 UTC

[GitHub] [apisix-dashboard] liuxiran commented on a change in pull request #477: fix: host should not be required

liuxiran commented on a change in pull request #477:
URL: https://github.com/apache/apisix-dashboard/pull/477#discussion_r489585799



##########
File path: src/pages/Route/components/Step1/RequestConfigView.tsx
##########
@@ -47,7 +47,6 @@ const RequestConfigView: React.FC<Props> = ({ data, disabled, onChange }) => {
               <Form.Item
                 {...(index === 0 ? FORM_ITEM_LAYOUT : FORM_ITEM_WITHOUT_LABEL)}
                 label={index === 0 ? formatMessage({ id: 'route.request.config.domain.name' }) : ''}
-                required

Review comment:
       I found that remove `required` here only removed the `*`in the UI, 
   in order to really remove the required verification of the host form item,  the required rules from line 59 to 63 must be removed as well :). @LiteSun @juzhiyuan 




----------------------------------------------------------------
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:
users@infra.apache.org