Correct method for validating input widget using `\kartik\base\Config`