dialog_wrapper.md: link Validation errors topic from UI guide

This commit is contained in:
Yann Cébron 2021-05-20 12:17:23 +02:00
parent eccee8bfba
commit dba4e5421a

View File

@ -51,6 +51,8 @@ Use `action.putValue(DialogWrapper.DEFAULT_ACTION, true)` to set the default but
### Input Validation ### Input Validation
Please see also [Validation errors](https://jetbrains.design/intellij/principles/validation_errors/) topic in the IntelliJ Platform UI Guidelines.
To validate the data entered into the dialog, override the `doValidate()` method. To validate the data entered into the dialog, override the `doValidate()` method.
The method will be called automatically by timer. The method will be called automatically by timer.
If the currently entered data is valid, return `null`. If the currently entered data is valid, return `null`.