(("undefined"!==typeof self?self:this)["webpackJsonpwebform_plugin"]=("undefined"!==typeof self?self:this)["webpackJsonpwebform_plugin"]||[]).push([[11],{5321:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h5",{style:{color:e.widget.style.headingColor}},[e._v(" "+e._s(e.widget.text.qheading)+" ")]),n("label",[e._v(e._s(e.widget.text.question))]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.widget.value.Ans,expression:"widget.value.Ans"}],staticClass:"form-control",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.$set(e.widget.value,"Ans",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"",selected:"",disabled:""}},[e._v("Please select")]),e._l(e.widget.text.Answers,(function(t,o){return n("option",{key:o,domProps:{value:t.value}},[e._v(e._s(t.text))])}))],2)])},i=[],s=(n("159b"),n("b0c0"),{name:"groups_widget",data:function(){return{inputText:"",hover:!1,highlight:!1,top:!1,bottom:!1}},props:{isRender:Boolean,widget:Object},created:function(){var e=this;this.isRender&&this.getApi.getGroupsDynamic(this.widget.text.spaceId).then((function(t){console.log("got groups",t),t.data.forEach((function(t){e.widget.text.Answers.push({text:t.name,value:t.mri})}))})).catch((function(e){console.log("err",e)}))}}),l=s,a=n("2877"),r=Object(a["a"])(l,o,i,!1,null,null,null);t["default"]=r.exports}}]);
//# sourceMappingURL=webform-plugin.umd.min.11.js.map