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(validate).
This commit is contained in:
@@ -1990,11 +1990,12 @@ class XmlForm_Field_Textarea extends XmlForm_Field
|
||||
|
||||
foreach ($values as $v) {
|
||||
$this->executeSQL( $owner, $r );
|
||||
$firstElement = key( $this->sqlOption );
|
||||
if (isset( $firstElement )) {
|
||||
$v = $firstElement;
|
||||
if (isset( $this->sqlOption )) {
|
||||
$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') {
|
||||
|
||||
Reference in New Issue
Block a user