Hi @GoneToSail , try putting focus on nothing after your repeat.
I don't know why it uses the closeCard but personally I like to use the preOpenCard and if you know the name of those fields that cannot be edited. The loop I would use would be something like:
repeat for each item tFieldName in ...
Search found 2 matches
- Wed Mar 01, 2023 3:13 pm
- Forum: iOS Deployment
- Topic: Keyboard remains visible
- Replies: 2
- Views: 6113
- Tue Feb 28, 2023 4:37 pm
- Forum: Talking LiveCode
- Topic: NDJSON?
- Replies: 2
- Views: 3337
Re: NDJSON?
Hello everyone
From what I can understand, the NDJSON consists of one JSON for each line. So you can create a couple of functions using JSONtoArray and ArrayToJSON.
-- NDJSONtoArray
function NDJSONtoArray pNDJSON
local tIndex = 0, tArray
repeat for each line tJSON in pNDJSON
add 1 to ...
From what I can understand, the NDJSON consists of one JSON for each line. So you can create a couple of functions using JSONtoArray and ArrayToJSON.
-- NDJSONtoArray
function NDJSONtoArray pNDJSON
local tIndex = 0, tArray
repeat for each line tJSON in pNDJSON
add 1 to ...