This is a parser and a doc bug. In the "Input Validation" docs:
causes something like:
[ERROR] Login Embedded component(s) form are defined within component class
Login, but are not present in the component template.
Fix the parser (exercise for the reader) and change the example to something like:
All the examples need to "just work" if copied and pasted. (Obviously.)