how to add validations for the fields here and display errors when the fields are empty?connection: {
fields: [
{
name: "username",
hint: "Your email used for login"
},
{
name: "password",
optional: false,
...
How to add validations for the fields here and display error messages when the fields are empty? connection: {
fields: [
{
name: "username",
hint: "Your email used for login"
},
{
name: "password",
optional: fal...