Empty String in value of TextField not render to json
UltimateFighter opened this issue · comments
if i do this:
primaryFields.add( new TextField( "Test key", "Test text", ""));
The json looks like:
"primaryFields" : [ {
"key" : "Test key",
"label" : "Test text",
"textAlignment" : "PKTextAlignmentLeft"
} ],
The right json should look like this:
"primaryFields" : [ {
"key" : "Test key",
"label" : "Test text",
"textAlignment" : "PKTextAlignmentLeft",
"value" : ""
} ],
Apple says The value field is required., otherwise the pass in invalid and i can't put it into passkit.
Thanks! I fixed this and released version 1.0.2 which is now available from Maven central.