Error codes · Markup
PW5014
control_without_label
The program must hold to this: a form control must have something that names it.
A program the compiler refuses with it
module search
page Search() {
route "/search"
view {
<title>Search</title>
<main>
<input type="text">
</main>
}
}From A form control nobody can name, in Why Pleris. A test holds the guide's examples to the compiler.
Reading the diagnostic
pw check prints the code in brackets, [PW5014], with the sentence above and the place in your program. Errors and diagnostics explains how to read one, and every code is listed with its rule.