You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by GitBox <gi...@apache.org> on 2022/11/02 13:13:54 UTC

[GitHub] [incubator-streampark] green241 commented on issue #1947: [Add User] Wrong style of drop-down box options

green241 commented on issue #1947:
URL: https://github.com/apache/incubator-streampark/issues/1947#issuecomment-1300388835

   Thanks for your deatil reply, I will have a try.
   
   
   
   ---- Replied Message ----
   | From | Sizhu ***@***.***> |
   | Date | 11/02/2022 16:28 |
   | To | ***@***.***> |
   | Cc | ***@***.******@***.***> |
   | Subject | Re: [apache/incubator-streampark] [Add User] Wrong style of drop-down box options (Issue #1947) |
   
   Thank you for your feedback, this is due to the dropdown box rendered into the body of the page, causing a positioning error, we will fix him in the new version. Of course, you can also change it yourself by doing the following
   
   streampark-console/streampark-console-webapp/src/views/system/user/UserAdd.vue
   
   Add a property to the select component of the User Type form item
   
   :getPopupContainer="(triggerNode) => triggerNode.parentNode"
   
   
   The sample
   
   <a-form-item
       label="User Type"
       v-bind="formItemLayout">
       <a-select
         mode="single"
         :getPopupContainer="(triggerNode) => triggerNode.parentNode"
         :allow-clear="false"
         style="width: 100%"
         v-decorator="['userType',{rules: [{ required: true, message: 'please select user type' }]}]">
         <a-select-option
           v-for="userType in userTypeData"
           :key="userType">
           {{ userType }}
         </a-select-option>
       </a-select>
     </a-form-item>
   
   
   —
   Reply to this email directly, view it on GitHub, or unsubscribe.
   You are receiving this because you authored the thread.Message ID: ***@***.***>


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org