BUG 12738 SQL doesn't work in GRID - Text-Area fields SOLVED

- When trying to establish a field dependency in grid between a Text field and a Text-area field using an external SQL connection, text-area field remains empty.
- Adding query option in the xmlform on a textarea of a grid.
This commit is contained in:
Hector Cortez
2013-08-21 11:01:40 -04:00
parent 073301ca33
commit 765b0c5940

View File

@@ -1989,6 +1989,12 @@ class XmlForm_Field_Textarea extends XmlForm_Field
$r = 1;
foreach ($values as $v) {
$this->executeSQL( $owner, $r );
$firstElement = key( $this->sqlOption );
if (isset( $firstElement )) {
$v = $firstElement;
}
$scrollStyle = $this->style . "overflow:scroll;overflow-y:scroll;overflow-x:hidden;overflow:-moz-scrollbars-vertical;";
$html = '';
if ($this->renderMode == 'edit') {