This is simple demo code for createRecord and readRecords. What am I missing? Thanks!
What I expect to happen:
Create a table with 2 rows, then read the table back. After a user chooses a state in the dropdown, the text fields are updated.
What actually happens:
The createRecords are executed and the console.logs run. When I pause at the readRecords line, then StepIn, execution skips past readRecords completely. numRecords doesn’t exist and nothing is written to the console. Same for both getStateCases and getRegionCases. The textAreas on the screen are set to 0, since the readRecords didn’t read data.
*** LINK ***