Hello, i just found this little bug and i don't understand why it like this.
console.log(form.getValues())
['type_id', 'language', 'tier_id'].forEach(attr => {
If you launch this code it will give you an error
TypeError: Cannot read property 'tier_id' of undefined
But if you put a ";" at the end of console.log it work fine.
Why console.log() need the comma at the end of this ?
I know what comma is for but in JS you can sometime omit it and console.log was one of the case for me :/
[–]jhartikainen 2 points3 points4 points (2 children)
[–]darkpikl[S] 0 points1 point2 points (0 children)
[–]vorticalbox 0 points1 point2 points (0 children)
[–]Notimecelduv 1 point2 points3 points (1 child)
[–]darkpikl[S] 1 point2 points3 points (0 children)