ember-changeset-validations
ember-changeset-validations copied to clipboard
Validations for ember-changeset
Hello! This is linked to my proposal in #317 . So I changed the allowBlank's check for the date validator to Ember's util `isEmpty`, as per the ones in the...
Heya! I tried to follow the discussion from which birthed the current date validator, but I couldn't find an answer: why do you not allow empty strings `''` in this...
V4 of ember-validates includes a significant breaking change (dropping momentJS) for anyone who uses their date validated. We pulled this change in without realising though a minor update to Ember-changesets-validations...
It would be neat if one could access other ember services from within a validator class. I understand the idea of using POJO and vanilla classes (validated-changeset is generic). But...
Similar to the work that went into `ember-changeset`, we can extract the core validators to a general typescript/javascript library. This necessitates looking at how we can generalize `ember-validators` to the...
This package is currently not providing a Date validator, which would be very useful for validating date-type inputs. Such a validator is already provided by `ember-validators` but is not in...
## Version 3.14.0 ## Test Case https://ember-twiddle.com/32cb49c696b4b7ca2736b1e3a8c98599?openFiles=components.my-component%5C.js%2Ctemplates.components.my-component%5C.hbs ## Steps to reproduce Hey. Use the twiddle above, and press the Toggle email value button. This button sets the email field, which...
Hi, I am on a freshly created octane ember project with ember-changeset and ember-changeset-validations installed. I am not sure if this is the same as #147 but passing the skipValidate=true...
Using #220 as inspiration, I'm frequently using this custom validator in my code: ```js export default function validateChain(validators) { return async (key, value, oldValue, changes, content) => { let result;...
Using version `3.8.0` of both `ember-changeset` and `ember-changeset-validations`, I'm getting an error when importing the `Validation` class for use in a class-based custom validator: `Could not find module ember-changeset-validations/validator`. I...