My Angular 13 application has a reactive form set up as follows: https://i.sstatic.net/LE219.png
I am trying to validate this form using the following approach: https://i.sstatic.net/gxpgN.png
However, I encountered the following error messages: https://i.sstatic.net/s034Y.png https://i.sstatic.net/eYoaJ.png
Additionally, it is important to note that within the component, there is a "get" function defined as:
get firstname() {
return this.myGroup.get('firstname');
}