Open jasonmit opened 7 years ago
Currently we always go through intl.formatMessage where in the future we likely want to conditionally call intl.formatHtmlMessage based on some flag.
import { validator, buildValidations } from 'ember-cp-validations'; const Validations = buildValidations({ username: validator('presence', { presence: true, is_html: true, descriptionKey: 'key.for.username' }) });
Currently we always go through intl.formatMessage where in the future we likely want to conditionally call intl.formatHtmlMessage based on some flag.