import{W as d}from"./WebFormFieldCore_String-CRNZZjMS.mjs";import{_ as i,d as o,e as t,V as n,h as l,W as p,f as m,C as u,t as h}from"#entry";import"./WebFormFieldCore-D5Rkwl9o.mjs";const c={extends:d,props:{},data(){return{textarea:""}},mounted(){this.textarea=this.value??""}},f={class:"textarea-field"},b=["id","name","placeholder","disabled","required"],v={key:0,class:"error"};function F(e,r,g,E,s,W){return t(),o("div",f,[n(m("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:u(e.hasError&&e.showErrors?"has-error":""),onInput:r[1]||(r[1]=a=>e.update(a.target.value))},null,42,b),[[p,s.textarea]]),e.hasError&&e.showErrors?(t(),o("span",v,h(e.errorMsg),1)):l("",!0)])}const _=Object.assign(i(c,[["render",F],["__scopeId","data-v-c0da117c"]]),{__name:"WebFormFieldMultiLineText"});export{_ as default};