feat: add onCell Click.

This commit is contained in:
elforjani13
2021-10-26 16:49:06 +02:00
parent 2fd78ca1c4
commit a71ae1813b
3 changed files with 42 additions and 33 deletions

View File

@@ -7,7 +7,7 @@ import {
} from '@blueprintjs/core';
import { DateInput } from '@blueprintjs/datetime';
import { FormattedMessage as T } from 'components';
import { FastField, ErrorMessage } from 'formik';
import { FastField, Field, ErrorMessage } from 'formik';
import {
momentFormatter,
compose,
@@ -152,7 +152,7 @@ function EstimateFormHeader({
</FastField>
{/* ----------- Estimate number ----------- */}
<FastField name={'estimate_number'}>
<Field name={'estimate_number'}>
{({ form, field, meta: { error, touched } }) => (
<FormGroup
label={<T id={'estimate'} />}
@@ -185,7 +185,7 @@ function EstimateFormHeader({
</ControlGroup>
</FormGroup>
)}
</FastField>
</Field>
{/* ----------- Reference ----------- */}
<FastField name={'reference'}>