fixes #9342 adding on-invalid="ignore" (= null on constructor argument)