final-form / final-form/react-final-form-arrays
Question : How update a line
Open
- Dominant language
- TypeScript
- Stars
- 210
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
Is there a way to update the value of a line ?
Now I'm using :
```
let guestCopy = fields.value[index];
guestCopy.bookingOwner = true;
fields.remove(index);
fields.insert(index, guestCopy);
```
But it's a little bit dirty
Contributor guide
Research direction
Review the fields.value, fields.remove, and fields.insert usage shown in the report and check the library's documented array-field API. Confirm whether an in-place line update is supported; done means documenting the supported approach or identifying the missing API, with a focused test if implementation is needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100