<?php if ($this->previewMode && !$value): ?>

    <span class="form-control" disabled="disabled"><?= e(trans('backend::lang.form.preview_no_record_message')) ?></span>

<?php else: ?>

    <div class="recordfinder-widget" id="<?= $this->getId('container') ?>">
        <?= $this->makePartial('recordfinder') ?>
    </div>

<?php endif ?>
