protected function shouldContainValueField($typeId = null)
    {
        if (is_null($typeId)) {
            return false;
        }
        $model = FieldType::query()->findOrFail($typeId);
        return $model->name == 'select' or ( $model->name == 'input' and in_array($model->type, ['radio', 'checkbox']));
    }