Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
<el-form-item
:label="$t('views.applicationWorkflow.nodes.variableSplittingNode.expression.label')"
:required="true"
prop="label"
:rules="rules.label"
prop="expression"
>
<el-input
v-model="form.expression"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the given code snippet, there is one main issue to be addressed:

  1. The label property should match the prop used. Here's how you can correct it:

    +      :label="$t('views.applicationWorkflow.nodes.variableSplittingNode.expression.label')"
    

    Modify it to:

    -      :required="true"
  •  :prop="expression"
    
     >
    
    
    

This change ensures that the corresponding rule (rules.label) will correctly validate the input against the label property on the form state when submitted.

No other major issues were found in this specific code snippet.

Expand Down
Loading