Add filtered values to input fields