In order to give a smooth slider we've set step="0.1" on the sliders, but this means the value is set to a stringified float rather than a stringified int.
This puts us in a difficult position, if we make it so that we convert it to a stringified int whilst the user is using the slider then it will still have the "snapping" feeling, so we have to change to a stringified int when the mood/energy is submitted.
In order to give a smooth slider we've set
step="0.1"
on the sliders, but this means the value is set to a stringified float rather than a stringified int. This puts us in a difficult position, if we make it so that we convert it to a stringified int whilst the user is using the slider then it will still have the "snapping" feeling, so we have to change to a stringified int when the mood/energy is submitted.