Two-way bind of Label.text has recursion issue on JS, wrong results on SWF
- Dominant language
- ActionScript
- Stars
- 380
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
Two-way bind of (MX, and presumably Spark) Label.text has correct results (matches behavior under Flex), but gets this error on JS:
```Uncaught InternalError: too much recursion```
On SWF, the results are wrong (never gets the A2 / B2 values).
See attached example.
[TestTwoWayBindLabelText.mxml.txt](https://github.com/apache/royale-asjs/files/7448614/TestTwoWayBindLabelText.mxml.txt)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the attached TestTwoWayBindLabelText.mxml.txt example and reproduce its two-way Label.text binding behavior in the JS and SWF targets. Trace the binding updates to identify the recursion and incorrect-value behavior; done means JS no longer recurses and SWF reaches the A2 and B2 values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100