I’m trying to use the “connector” type form widget provided in the core feature for my custom extension.
I was able to display the fields by setting the following parameters in the php file under models/config
.
'fieldname' => [
'tab' => 'Field Name',
'type' => 'connector',
'partial' => 'form/layouts',
'nameFrom' => 'label',
'context' => ['edit', 'preview'],
],
However, I would like to disable the modal when this field is clicked.
Adding the parameter 'editable' => false
will disable the modal, but also hide the delete button. I’d like to keep the delete button.
Is there any way to disable just the modal feature?