How to use the ember-changeset-validations/validators.validateLength function in ember-changeset-validations

To help you get started, we’ve selected a few ember-changeset-validations examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nano-wallet-company / nano-wallet-desktop / app / validations / change-account-settings.js View on Github external
import { validateLength } from 'ember-changeset-validations/validators';

import validateAccount from '../validators/account';

export default {
  label: validateLength({ allowBlank: true }),
  representative: validateAccount({ allowBlank: true }),
};