YUI.add("aui-form-builder-field-select",function(e,t){var n=e.Lang,r=e.Escape,i="form-builder-field",s="form-builder-select-field",o="id",u="label",a="multiple",t="name",f="no",l="node",c="predefinedValue",h=" ",p="template",d="templateNode",v="yes",m=e.getClassName,g=m(i),y=m(i,l),b='<select id="{id}" class="'+[y].join(h)+'" name="{name}" value="{value}"></select>',w=e.Component.create({NAME:s,ATTRS:{multiple:{setter:e.DataType.Boolean.parse,value:!1},template:{valueFn:function(){return b}}},UI_ATTRS:e.FormBuilderField.UI_ATTRS.concat([a,c]),CSS_PREFIX:g,EXTENDS:e.FormBuilderMultipleChoiceField,prototype:{getHTML:function(){var e=this;return n.sub(e.get(p),{id:r.html(e.get(o)),label:r.html(e.get(u)),name:r.html(e.get(t)),value:r.html(e.get(c))})},getPropertyModel:function(){var t=this,n=t.getStrings(),r=e.FormBuilderSelectField.superclass.getPropertyModel.apply(t,arguments);return r.push({attributeName:a,editor:new e.RadioCellEditor({options:{"true":n[v],"false":n[f]}}),formatter:e.bind(t._booleanFormatter,t),name:n[a]}),r},_uiSetMultiple:function(e){var t=this,n=t.get(d);e?n.setAttribute(a,a):n.removeAttribute(a),t.predefinedValueEditor.set(a,e)}}});e.FormBuilderSelectField=w,e.FormBuilder.types.select=e.FormBuilderSelectField},"2.0.0",{requires:["aui-form-builder-field-base"]});
