LPS-34763 Skips js form validation when selecting template in wc