Form(
{
$data: {
username: "",
password: "",
comment: "",
},
p: "sm",
},
[
View({ tag: "fieldset" }, [
View({ tag: "legend" }, "Send your Comment"),
Row([
Input({ name: "username", col: 6, label: "User Name" }),
Input({ name: "password", col: 6, label: "Password" }),
TextEditor({ name: "comment", label: "comment" }),
Col({ col: 12 }, [
View({border: true, borderColor: 'base-400', p: "sm",}, [
View(["Username: ", View({ $text: "username" })]),
View(["password: ", View({ $text: "password" })]),
View(["edit: ", View({ $text: "comment" })]),
]),
]),
Col({justify: 'end'}, [
Button({ type: "submit", color: 'primary' }, "Submit"),
])
]),
]),
]
)