redux-form/redux-form

Feature request: Async field level validation

オープン

#2,763 opened on 2017/04/02

 (27 件のコメント) (47 件のリアクション) (0 人の担当者)JavaScript (1,683 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (12,592 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

It would be great to be able to use promise-based validation libraries like yup for field level validation but it seems that redux-form only supports sync validation functions on fields.

There's a stack overflow post and this article discussing use of the asyncValidate config option but I don't think there are any options for async field level validation.

コントリビューターガイド