allow caller to pass its own renderField wrapper function