leezng commented on code in PR #6801: URL: https://github.com/apache/inlong/pull/6801#discussion_r1043262256
########## inlong-dashboard/src/metas/sinks/defaults/MySQL.ts: ########## @@ -120,26 +108,34 @@ export default class HiveSink extends SinkInfo implements DataWithBackend, Rende enableCreateResource: number; @FieldDecorator({ - type: 'input', - rules: [{ required: true }], - props: values => ({ - disabled: [110, 130].includes(values?.status), - }), - }) - @ColumnDecorator() - @I18n('meta.Sinks.Username') - username: string; - - @FieldDecorator({ - type: 'password', + type: 'select', rules: [{ required: true }], props: values => ({ + showSearch: true, disabled: [110, 130].includes(values?.status), + options: { + requestService: keyword => ({ Review Comment: You may need to add `requestTrigger` here. Otherwise, the API will not be used when I enter keywords -- 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: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org