import{s as a,x as n,o as s,c as r}from"./app-I4K73wff.js";const m=["value"],d={__name:"TextInput",props:["modelValue"],emits:["update:modelValue"],setup(u){const e=a(null);return n(()=>{e.value.hasAttribute("autofocus")&&e.value.focus()}),(o,t)=>(s(),r("input",{class:"block mt-1 w-full rounded-md form-input focus:border-sky-600",value:u.modelValue,onInput:t[0]||(t[0]=l=>o.$emit("update:modelValue",l.target.value)),ref_key:"input",ref:e},null,40,m))}};export{d as _};
