98b4e8431b
Closes #15345 The issue was that when the `onChange` was called on the Select component in `WorkflowEditActionFindRecords.tsx`, the limit was being reset to 1, but it wasn't rendering immediately. The sidebar had to be closed and reopened. I have added a `useEffect` as a hack to re-render the `FormNumberFieldInput` when it's `defaultValue` is changed. I understand that using `useEffect` is not a good choice. Please suggest a better fix if any and I will implement it. --------- Co-authored-by: Charles Bochet <charles@twenty.com>