The $ Does Not Convert Text To Code What Should I Do?
if(this.rules.min && this.value.length < this.rules.min){
return 'Minimum length is ${this.rules.min}'
}
As Bulent says you need to use backticks quote like that :
if(this.rules.min && this.value.length < this.rules.min){
return `Minimum length is ${this.rules.min}`
}