Skip to content

textline

textline(opts?): void

Defined in: components/textline.ts:55

A single-line text input — covering text, passwords, numbers, email, dates and the other line-oriented <input> types.

Renders inside the standard drawField chrome (label, control, help/error), so it aligns cleanly inside a form.

TextlineOptions = {}

void

const $user = A.proxy({email: "test@example.com"});
S.textline({ label: "Email", type: "email", required: true, bind: A.ref($user, "email") });