Thanks @dcartlidge,
I do tend to creep the complexity of the app, because Retool is so cool and can do loads of things.
I realised after posting that my examples were all of single records. There are a mixture of single and multiple records, depending on which item is selected in the listbox and how many of those items there are.
FAD - New edit FAD 3 | Editor - 31 January 2024 - Watch Video
![]()
FAD - New edit FAD 3 | Editor - 31 January 2024 - Watch Video
![]()
The suggestion you describe seems to be what I thought I had, but I am unsure. I fear that I may have made the logic too complicated.
I use the Blur event to save the value of the TextArea to the variable.
I have another version of this app where all the items are in one big long listView component. This is non-performant too. I think because there are so many components in the container. I am wondering if I try to split this into multiple views (e.g. one for text, one for costs) whether that would improve performance. Interestingly in this version, the textArea components keep getting reset back to default values multiple times as you type, which seems to relate to this article:
but as I'm already using a temp state/variable I can't see how this solution would help me?
Do you have any other ideas?
