updateChakraSliderInput function

Update a chakra slider