Because of the way jsx schema integer value are printed on console, the farmer ID is shown like this
123,456. This makes the farmer believe that he has to include the , inside its farmer ID.
To mitigate this confusion lets validate the format of the farmer ID. Farmer ID needs to be a positive non null integer with no coma or dot.
Let's also make sure to explain the expected format too.
Because of the way jsx schema integer value are printed on console, the farmer ID is shown like this
123,456
. This makes the farmer believe that he has to include the,
inside its farmer ID.To mitigate this confusion lets validate the format of the farmer ID. Farmer ID needs to be a positive non null integer with no coma or dot. Let's also make sure to explain the expected format too.