EricGao888 commented on code in PR #11659:
URL: https://github.com/apache/dolphinscheduler/pull/11659#discussion_r955779402


##########
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-sql.ts:
##########
@@ -43,6 +43,10 @@ export function useSql(model: { [field: string]: any }): 
IJsonItem[] {
         trigger: ['input', 'trigger'],
         required: true,
         message: t('project.node.sql_empty_tips')
+      },
+      props: {
+        language: 'sql',
+        placeholder: t('project.node.sql_statement_tips')

Review Comment:
   @Amy0104 Thanks for the information. When I tested it manually, the 
placeholder didn't take effect. But highlight and auto-complete did work. What 
about removing the `placeholder` and only keeping the `language`?



-- 
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: [email protected]

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

Reply via email to