MCPcopy
hub / github.com/final-form/react-final-form / format

Function format

src/Field.test.js:1298–1298  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1296
1297 it("should support using format/parse with checkbox controls", () => {
1298 const format = (value) => value && value.map((x) => x.toString());
1299 const parse = (value) => value && value.map((x) => parseInt(x, 10));
1300
1301 const { getByTestId } = render(

Callers 3

registerFunction · 0.85
getInputValueFunction · 0.85
useFieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…