Skip to content

Commit a0a0926

Browse files
author
Krzysztof Marek Witkowski
committed
fix(simple form iterator): defaulted values to null instead of empty string
1 parent a3d0d82 commit a0a0926

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

packages/ra-core/src/form/FormDataConsumer.spec.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import * as React from 'react';
2-
import { fireEvent, render, screen, waitFor } from '@testing-library/react';
3-
2+
import { render, waitFor, screen, fireEvent } from '@testing-library/react';
43
import FormDataConsumer, { FormDataConsumerView } from './FormDataConsumer';
54
import { testDataProvider } from '../dataProvider';
65
import {

packages/ra-ui-materialui/src/input/ArrayInput/SimpleFormIterator.spec.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import * as React from 'react';
22
import {
3-
fireEvent,
4-
getByLabelText,
5-
render,
63
screen,
4+
render,
5+
fireEvent,
76
waitFor,
7+
getByLabelText,
88
} from '@testing-library/react';
99
import expect from 'expect';
1010
import { FormDataConsumer, testDataProvider } from 'ra-core';

0 commit comments

Comments
 (0)