From da8d6213cf3973fda962c06ef34524e984a829ac Mon Sep 17 00:00:00 2001 From: Icebob Date: Thu, 28 Apr 2016 16:31:25 +0200 Subject: [PATCH] Handling bootstrap-select --- src/fields/fieldSelectEx.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/fields/fieldSelectEx.vue b/src/fields/fieldSelectEx.vue index 7cd0f22b..54d94b32 100644 --- a/src/fields/fieldSelectEx.vue +++ b/src/fields/fieldSelectEx.vue @@ -40,16 +40,12 @@ model: function() { if ($.fn.selectpicker) $(this.$el).selectpicker("refresh"); - else - console.warn("selectpicker is not loaded!"); } }, ready() { - if ($.fn.selectpicker) + if ($.fn.selectpicker) $(this.$el).selectpicker("destroy").selectpicker(this.schema.selectOptions); - else - console.warn("selectpicker is not loaded!"); } }