+
{/* numerator / fin: osoittaja */}
changeHandler(e.target.value, NUMERATOR)}
+ onBlur={handleBlur}
disabled={disabled}
type="number"
+ min="1"
/>
/
{/* denominator / fin: nimittäjä */}
changeHandler(e.target.value, DENOMINATOR)}
+ onBlur={handleBlur}
disabled={disabled}
type="number"
+ min="1"
+ ref={secondFieldRef}
/>
);
diff --git a/src/components/form/FormField.js b/src/components/form/FormField.js
index 8f2fee7a5..381b51df7 100644
--- a/src/components/form/FormField.js
+++ b/src/components/form/FormField.js
@@ -106,6 +106,8 @@ type InputProps = {
label: ?string,
language?: string,
meta: Object,
+ minDate?: Date,
+ maxDate?: Date,
multiSelect?: boolean,
optionLabel?: string,
options: ?Array