mljr-ui · showcase

Input

Text input bound to a Datastar signal. Supports type, placeholder, required.

form input

Usage

form.Field(form.FieldProps{Label: "Email", Hint: "We won't spam you", ErrorFor: "email"},
    form.Input(form.InputProps{
        Type:        "email",
        Placeholder: "you@example.com",
        Signal:      "email",
        Required:    true,
    }),
)