Hello,

we are having a form with a list of steps.. When sending those, we would 
like to know, *which one had Validation errors *to mark the input field as 
invalid. How can this be done?


*This is the POST, sending a list of 3 Steps*

"steps": [
                {
                    "start_date": "2016-03-19",
                },

                {
                    "start_date": "2018-06-19",
                },
                {
                    "start_date": "2018-06-19",
                }
            ]



*Answer with an Validation Error*

{
    "steps": [
        {
            "start_date": [
                "The start date must be in the future."   # Okay. But which 
one? Step 1, 2 or 3?
            ]
        },
    ]
}


How can this be achieved?

Thanks for any help on this!

Best regards,
Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to