forms-angular 0.12.0-beta.232 → 0.12.0-beta.234

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -856,7 +856,7 @@ class FormsAngular {
856
856
  if (dateTest) {
857
857
  obj[prop] = new Date(dateTest[1] + 'Z');
858
858
  }
859
- else {
859
+ else if (prop !== "$regex") {
860
860
  const objectIdTest = /^([0-9a-fA-F]{24})$/.exec(obj[prop]);
861
861
  if (objectIdTest) {
862
862
  obj[prop] = new mongoose_1.Types.ObjectId(objectIdTest[1]);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Mark Chapman <support@forms-angular.org>",
4
4
  "description": "A form builder that sits on top of Angular.js, Twitter Bootstrap, jQuery UI, Angular-UI, Express and Mongoose. Opinionated or what?",
5
5
  "homepage": "http://forms-angular.org",
6
- "version": "0.12.0-beta.232",
6
+ "version": "0.12.0-beta.234",
7
7
  "engines": {
8
8
  "node": ">=8.x",
9
9
  "npm": ">=5.x"