Unable to dynamically update own state of RichEditor for component?
Hi! For a form I would like to process the input data of a RichEditor using the
afterStateUpdated()
hook. The data is processed and a HTML table structured string is return, that is supposed to be set as the value of the editor itself. The purpose is to enable pasting data from excel and we render this nicely as preview. The following snippet used to work fine in v2:
However, the form field is not updated when providing some input. I already verified that the last function, parseTableData(), returns data as expected. Weirdly enough, an identical implementation but with a TextInput works just fine! Anyone a clue how this can be fixed? Thanks in advance!0 Replies