# Editor.AutoComplete.OnOptionSelected

```csharp
System.Action<string> OnOptionSelected
```

You should hook this up to change the text on your control

Declared in [Editor.AutoComplete](/api/Editor.AutoComplete).
Assembly: `Sandbox.Tools`.
