Julian Lo
Julian Lo
agree with @TimGels and @gkalpak that the workaround does work. the key is to also make sure to 'clear site data' after you have disabled the service worker via `ServiceWorkerModule`'s...
Overall I'm really appreciating Sweetpad, and would love to see this improved. For the record, the way I am witnessing this is that I initiate a build (say, "SweetPad: Build...
I just managed to wire up our iOS build to bitrise (we use Buddybuild for CI, but i'm more familiar with bitrise so I decided to give it a shot)....
@rguinea @bluebill1049 Can you guys explain how `Controller` fixes the issue? I see the following comment in the Advanced Usage documentation: >if your application requires functionality such as: Delete, Insert,...
@bluebill1049 i believe i have found the bug in `useFieldArray` https://github.com/react-hook-form/react-hook-form/blob/master/src/useFieldArray.ts#L59-L61 `remove` calls `resetFields()` with a new array to reset to: ``` const remove = (index?: number) => { if...
IMO, the core problem is that `remove` ends up deleting the entire array out of `fieldsRef.current`; instead, it should just delete the one element out of the array, and update...
Well, I ended up fixing my issue by iterating on the solution I proposed above (which was incomplete). I really wanted to get `useFieldArray` working, and my change fixed my...
[](https://codesandbox.io/s/react-hook-form-usefieldarray-ik0rf?fontsize=14&hidenavigation=1&theme=dark) Repro: - press 'append' - press 'delete' on either element in the list - press 'submit' Expected: the submit data should contain `test` =...
ah, the `useMemo` was not needed. sorry, i took the CSB from somewhere else and modified it. didn't notice the useMemo. okay interesting... yes `register()` does fix it for standard...
Thank you for the help @bluebill1049 ! I'm trying now with Controller, can't seem to get it working. https://codesandbox.io/s/react-hook-form-field-array-advanced-with-delete-insert-append-edit-c8ei3 (I took [this](https://codesandbox.io/s/react-hook-form-field-array-advanced-with-delete-insert-append-edit-l19pz) example and made it slightly more complicated.) Repro:...