// templui component inputotp - version: v0.84.0 installed by templui v0.84.0 package inputotp import ( "git.jmbit.de/jmb/scanfile/server/web/templui/utils" "strconv" ) type Props struct { ID string Class string Attributes templ.Attributes Value string Required bool Name string HasError bool } type GroupProps struct { ID string Class string Attributes templ.Attributes } type SlotProps struct { ID string Class string Attributes templ.Attributes Index int Type string Placeholder string Disabled bool HasError bool } type SeparatorProps struct { ID string Class string Attributes templ.Attributes } templ InputOTP(props ...Props) { {{ var p Props }} if len(props) > 0 { {{ p = props[0] }} }