Hello Admin
The fork framework needs revisiting as it relates to the reference "parent". Once "parent::" is called within a forked class, execution passes to the main class and never returns. Therefore forking some routines is useless. For a forked field (cktext.php), when "return parent::getInput();" is called, the input property is overwritten by the main routine.
/**
* Method to get the field input markup.
*
* @access public
*
*
* @since 11.1
*
* @return string The field input markup.
*/
public function getInput()
{
$this->input = JDom::_('html.form.input.text', array_merge(array(
'dataKey' => $this->getOption('name'),
'domClass' => $this->getOption('class'),
'domId' => $this->id,
'domName' => $this->name,
'dataValue' => $this->value,
'testValue' => $this->test,
'placeholder' => $this->getOption('placeholder'),
'prefix' => $this->getOption('prefix'),
'responsive' => $this->getOption('responsive'),
'size' => $this->getOption('size'),
'suffix' => $this->getOption('suffix')
), $this->jdomOptions));
return parent::getInput();
}
Please look into this and let me know if it can be easily fixed across components.
Warm regards
vlemos