---
title: "textInput(_:deferReplaceTextActionToSystem:)"
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: "browserenginekit/betextinputdelegate/textinput(_:deferreplacetextactiontosystem:)"
---

# textInput(_:deferReplaceTextActionToSystem:)

Defers a replace text action to the ssytem.

## Declaration

```swift
func textInput(_ textInput: any BETextInput, deferReplaceTextActionToSystem sender: Any)
```

## Discussion

Discussion When handling the replace: action, use this method to defer the replacement to the system. For example, a replacement could be deferred after it is selected from the autocorrect replacements list.

## See Also

### Deferring actions to the text system

- [shouldDeferEventHandlingToSystem(for:context:)](browserenginekit/betextinputdelegate/shoulddefereventhandlingtosystem(for:context:).md)
