Page MenuHomeSealhub

form-control.ts
No OneTemporary

form-control.ts

import { Context } from "koa";
import { FlatTemplatable } from "tempstream";
import { FormDataValue, FormMessage } from "../form";
export abstract class FormControl {
abstract render(
ctx: Context,
data: Record<string, FormDataValue>,
messages: FormMessage[],
field_name_prefix: string,
form_id: string
): FlatTemplatable | Promise<FlatTemplatable>;
abstract role: "input" | "decoration" | "messages" | "submit";
}

File Metadata

Mime Type
text/x-java
Expires
Tue, Dec 24, 14:02 (17 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557188
Default Alt Text
form-control.ts (429 B)

Event Timeline