OSDN Git Service

validate the amount when typing
authorZhiting Lin <zlin035@uottawa.ca>
Wed, 11 Apr 2018 02:58:32 +0000 (10:58 +0800)
committerZhiting Lin <zlin035@uottawa.ca>
Wed, 11 Apr 2018 02:58:32 +0000 (10:58 +0800)
src/features/transactions/components/New/New.jsx

index c121969..b67b2dd 100644 (file)
@@ -422,6 +422,7 @@ export default BaseNew.connect(
       'password'
     ],
     validate,
+    touchOnChange: true,
     initialValues: {
       submitAction: 'submit',
     },