Skip to content

Commit

Permalink
feat(editor): Add support for notice credentials properties (#4557)
Browse files Browse the repository at this point in the history
✨ Added notice parameter support for credentials.
  • Loading branch information
MiloradFilipovic authored Nov 9, 2022
1 parent f9d9f88 commit de96def
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
<div @keydown.stop :class="$style.container" v-if="credentialProperties.length">
<form v-for="parameter in credentialProperties" :key="parameter.name" autocomplete="off">
<!-- Why form? to break up inputs, to prevent Chrome autofill -->
<n8n-notice
v-if="parameter.type === 'notice'"
:content="parameter.displayName"
/>
<parameter-input-expanded
v-else
:parameter="parameter"
:value="credentialData[parameter.name]"
:documentationUrl="documentationUrl"
Expand Down

0 comments on commit de96def

Please sign in to comment.