Hi anyone!
I’m newbie in front-end development and I’m stuck on select component behaviour.
My backend receives JSON object like this
{
"checkpointId": 1
}
When I use atlaskit component in my form, I got next submitted value:
{
"checkpointId": {
"name" : "Default",
"value": 1
}
}
And the question: where shoud I put logic for changing this json object before sending to the server? Is it should be on my redux actions or perhaps in this select field state?
I try to make different ways to change value before submitting, but I’m stuck on select with multiple options.
Did anyone try to do something like that?