Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Can't overwrite validate.validators.numericality.options.message #145

@nitriques

Description

@nitriques

if I set a value to validate.validators.numericality.options.message, you can't customize the message when validating, using message or notValid. I would expect to still be able to provide custom messages event if I set a default one. This problem looks specific to the numericality validator, as I do not have this problem with the 'presence' validator.

I've tried to set the message in both the constraints and option object, without any luck

This is using the validate.single function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions