Proposal to allow creating a field and setting its value in one go

I always find it very tedious to first enter a field name, click "add" (could you add "Return" here as a shortcut?) and then to click the newly created field to enter the value. Especially when an instruction shows field and value like this: "field: value".

This proposal splits a field name at the first colon and sets the name to be the left and the new value to be the right part.
I wasn't trying to offend. I also wasn't trying to say your code was wrong. I was only pointing out I would've approached it the other way. If the indexOf is more natural for you use it.

Honestly, I had thought offering more than one approach was a good idea, I was not attempting to persuade you to change it.