2nd preview

This commit is contained in:
Paolo
2017-05-10 09:54:23 +02:00
parent e143aa8815
commit f092867602
4 changed files with 31 additions and 3 deletions
+11
View File
@@ -62,6 +62,8 @@ class UDFWidget extends UDFWidgetTpl
$this->_setValidationAttributes($jsonSchema);
$this->_setNameAndId($jsonSchema);
$this->_render($jsonSchema);
//
@@ -91,6 +93,15 @@ class UDFWidget extends UDFWidgetTpl
}
}
/**
*
*/
private function _setNameAndId($jsonSchema)
{
$this->_args[Widget::HTML_ARG_NAME][Widget::HTML_ID] = $jsonSchema->name;
$this->_args[Widget::HTML_ARG_NAME][Widget::HTML_NAME] = $jsonSchema->name;
}
/**
*
*/