Skip to content

Commit b55ade9

Browse files
Poyoman39erikras
andauthored
Fix #757 (#771)
* Fix #757 Fix #757 * Improved docs Co-authored-by: Erik Rasmussen <[email protected]>
1 parent 45441e9 commit b55ade9

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/types/FieldProps.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,18 @@ Optional. Defaults to `===`.
164164

165165
A function to determine if two values are equal.
166166

167+
## `multiple`
168+
169+
```ts
170+
boolean
171+
```
172+
173+
Optional.
174+
175+
Only of use when using `component="select"` and you want a multiselect.
176+
177+
It will be added on your input component, or you may retrieve its value inside the "input" property of your custom components.
178+
167179
## `name`
168180

169181
```ts
@@ -237,6 +249,18 @@ Related:
237249

238250
- [`FieldState`](/docs/final-form/types/FieldState)
239251

252+
## `type`
253+
254+
```ts
255+
string
256+
```
257+
258+
Optional.
259+
260+
If set to `"checkbox"` or `"radio"`, React Final Form will know to manage your values as a checkbox or radio button respectively. Results in a `checked` boolean inside the `input` value given to your render prop.
261+
262+
It will be added on your input component, or you may retrieve its value inside the "input" property of your custom components
263+
240264
## `validate`
241265

242266
```ts

0 commit comments

Comments
 (0)