parent
8002c1010b
commit
358a6337df
|
|
@ -123,10 +123,6 @@ class RecordFinder extends FormWidgetBase
|
|||
'recordsPerPage',
|
||||
]);
|
||||
|
||||
if ($this->formField->disabled) {
|
||||
$this->previewMode = true;
|
||||
}
|
||||
|
||||
if (post('recordfinder_flag')) {
|
||||
$this->listWidget = $this->makeListWidget();
|
||||
$this->listWidget->bindToController();
|
||||
|
|
@ -179,7 +175,7 @@ class RecordFinder extends FormWidgetBase
|
|||
public function prepareVars()
|
||||
{
|
||||
$this->relationModel = $this->getLoadValue();
|
||||
|
||||
|
||||
if ($this->formField->disabled) {
|
||||
$this->previewMode = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue