Fix bug 6296, Adjust return value the textarea type in Dependent Field.
This commit is contained in:
@@ -155,7 +155,7 @@
|
|||||||
$o->key=$k;
|
$o->key=$k;
|
||||||
// TODO: review the condition to make the differentiation to dependent dropdowns in a grid function.
|
// TODO: review the condition to make the differentiation to dependent dropdowns in a grid function.
|
||||||
// this way of validation is if you have a dependent field in text fields
|
// this way of validation is if you have a dependent field in text fields
|
||||||
$o->value= ($type =='text')? $k:$v;
|
$o->value= ($type =='text' || $type =='textarea')? $k:$v;
|
||||||
$result[]=$o;
|
$result[]=$o;
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
|
|||||||
Reference in New Issue
Block a user