Skip to content

FormControllerのルールsizeのデフォルトメッセージで『1以上undefined以下』のような表記が表示されてしまう #504

Description

@fukudayasuo

sizeはパラメータにminとmaxを指定できるが、片方を省略して記述できる。
その場合に、FormControllerのプラグインが生成する自動メッセージで、省略したパラメータがundefined
で表示されてしまう。

省略された場合も適切なメッセージになるよう修正する。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions