This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ng-pattern binding is not working in v1.4 #12344
Closed
Description
I understand that v1.3 introduced some changes in the recommended usage of ng-pattern when the validation pattern / RegExp is exposed as a model property. This change is documented in the migration notes and works correctly in v1.3, as demonstrated in this JSFiddle.
However, using the same implementation in v1.4 does not work, as this JSFiddle shows. Instead, pattern validation always fails.