Add custom form
<?xml version="1.0" encoding="utf-8"?>
<form>
<fields name="name">
<fieldset name="edit">
<field name="rules" type="rules" label="JGLOBAL_ACTION_PERMISSIONS_LABEL" class="inputbox" filter="rules"
component="com_my" section="name" validate="rules"/>
</fieldset>
</fields>
</form>
Load form from model via
public function getForm($data = array(), $loadData = true)
{
$form = $this->loadForm('com_my.name', 'name', array('control' => 'form', 'load_data' => $loadData));
if (empty($form))
{
return false;
}
return $form;
}
On rules matrix change selected value.
Ajax request to Com-Config Application Controller
Joomla 3.6.4
Firefox 52
Problem in hard-coded field names for title and rules. Of course if we're planing to use rules field in custom component w/o title field or with different form name controls we will got same error.
Labels |
Added:
?
|
Category | ⇒ | Fields |
Status | New | ⇒ | Information Required |
@Globulopolis can you think of a patch that handle both cases and send it against the staging branch than?
Status | Information Required | ⇒ | Discussion |
Labels |
Added:
J3 Issue
|
Closed as expected behaviour
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-18 17:17:36 |
Closed_By | ⇒ | brianteeman |
do you have this Issue on latest Staging too?