The NPK verification flags on decimals but shouldnt (NPK can be decimals)
Steps to reproduce
Send a label that has decimals NPK to analyze route
Expected behavior
The form is returned with decimals values in the NPK
Actual behabior
400 - bad request
{
"error": "1 validation error for FertiliserForm\nnpk\n String should match pattern '^(\\d+-\\d+-\\d+)?$' [type=string_pattern_mismatch, input_value='0.5-0.5-0.5', input_type=str]\n For further information visit https://errors.pydantic.dev/2.5/v/string_pattern_mismatch"
}
Description
The NPK verification flags on decimals but shouldnt (NPK can be decimals)
Steps to reproduce
Expected behavior
The form is returned with decimals values in the NPK
Actual behabior
400 - bad request