TAM-Lab opened a new issue, #15429: URL: https://github.com/apache/dolphinscheduler/issues/15429
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When i try to create a Task Definition as Batch Task or create a Workflow Definition as SQL, i found that the custom parameter module could not trigger the validator in some situation. The condition as below ### What you expected to happen In normal case, the custom parameter module would verify that whether duplicate values exist in prop property values. If so, it would prompt: prop is repeat. When the creation task is performed, the custom parameter form appears fine, as below screenshot, but when the task is modified, some unexpected problems occur.  Situation 1: If the number of custom parameters added during task creation is greater than two, the validator verification would not be performed when the custom parameters are added. The screenshot is as follows:  and the save operation could be performed. Also, When adding the custom parameter, if the prop property is the same as the first prop value, it would prompt the message: prop is repeat.  Situation 2: If the number of custom parameters added during task creation is less than two, the validator verification would be performed fine. the situation is as follows:  ### How to reproduce According to the above description and screenshots can be reproduced ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
