This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { LocaleObject } from "yup/es/locale"; | |
| export const yupJa: LocaleObject = { | |
| mixed: { | |
| default: "入力エラーです", | |
| required: "必須入力項目です", | |
| oneOf: ({ path, values }) => | |
| `${path}は次の値のいずれかでなければなりません: ${values}`, | |
| notOneOf: ({ path, values }) => | |
| `${path}は次の値のいずれかであってはなりません: ${values}`, |