You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/08/26 08:08:59 UTC

[GitHub] [dolphinscheduler] Amy0104 commented on a diff in pull request #11659: [Feature][UI] Enable highlight and auto-complete for SQL scripts

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


##########
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:
   It seems that the monaco editor does not support placeholder yet.



-- 
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-unsubscribe@dolphinscheduler.apache.org

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