You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for similar issues before opening a new one.
Description
When changing the field WHERE of the block text_charAt the child block in the input AT gets disconnected.
This only happends with text_charAt but it doesn't happen with text_getSubstring, lists_getIndex and lists_getSublist.
Reproduction Steps
Create a text_charAt block
Fill it's input AT
Change the field WHERE to "letter # from end"
Stack Trace
No response
Screenshots
No response
Browsers
Chrome desktop
The text was updated successfully, but these errors were encountered:
Yes, this indeed seems like a bug! I suspect the problem is that some of the items in the dropdown remove the input completely, and this is probably being done when switching between "letter #" and "letter # from end" even though it appears not to be necessary in that particular case.
I saw that and suspected the same but the fact that it doesn't happen with the other blocks (text_getSubstring, lists_getIndex and lists_getSublist) makes me doubt.
Changing the function so the input is only removed when it is not necessary does indeed fix the problem. The question is why the other blocks don't need that. I couldn't find what else is different and also, I don't understand how the child block is maintained after a change (in the code I only see the input being removed and then added again but nothing about the child block being reconnected to the new input).
Check for Duplicates
Description
When changing the field WHERE of the block text_charAt the child block in the input AT gets disconnected.
This only happends with text_charAt but it doesn't happen with text_getSubstring, lists_getIndex and lists_getSublist.
Reproduction Steps
Stack Trace
No response
Screenshots
No response
Browsers
Chrome desktop
The text was updated successfully, but these errors were encountered: