import{_ as d}from"./WebFormFieldCore_String-Daj5WKW-.mjs";import{_ as i,o,c as t,N as n,O as l,a as p,y as m,t as u,l as h}from"./CmnEfQIC.js";import"./WebFormFieldCore-xNTPdj0N.mjs";const c={extends:d,props:{},data(){return{textarea:""}},mounted(){this.textarea=this.value??""}},f={class:"textarea-field"},v=["id","name","placeholder","disabled","required"],E={key:0,class:"error"};function _(e,r,b,g,s,k){return o(),t("div",f,[n(p("textarea",{id:e.name,"onUpdate:modelValue":r[0]||(r[0]=a=>s.textarea=a),name:e.name,placeholder:e.placeholder,disabled:e.disabled,required:e.required,class:m(e.hasError&&e.showErrors?"has-error":""),onInput:r[1]||(r[1]=a=>e.update(a.target.value))},null,42,v),[[l,s.textarea]]),e.hasError&&e.showErrors?(o(),t("span",E,u(e.errorMsg),1)):h("",!0)])}const B=i(c,[["render",_],["__scopeId","data-v-c0da117c"]]);export{B as default};