Prado\Web\UI\WebControls\TRequiredFieldValidator::getControlPromptValue PHP Метод

getControlPromptValue() защищенный Метод

protected getControlPromptValue ( ) : string
Результат string the initial value of the associated input control. Defaults to empty string. If the associated input control does not change from this initial value upon postback, the validation fails.
    protected function getControlPromptValue()
    {
        $control = $this->getValidationTarget();
        if ($control instanceof TListControl) {
            return $control->getPromptValue();
        }
        return '';
    }