# setCompoentFocus

## Description

Highlights a specific text in a component.

## Input / Parameter

| Name          | Description                               | Input Type  | Default | Options     | Required                           |
| ------------- | ----------------------------------------- | ----------- | ------- | ----------- | ---------------------------------- |
| component     | The name of the component.                | String/Text | -       | -           | Partial (Yes if no 'componentId'.) |
| componentId   | The id of the component.                  | String/Text | -       | -           | Partial (Yes if no 'component'.)   |
| selectAllText | Highlight all the words in the component. | Boolean     | false   | true, false | No                                 |
| hideKeyboard  | Hide or display keyboard.                 | Boolean     | false   | true, false | No                                 |

**\* Note:** Either component or componentId must have value in order for this function to work.

## Output

N/A

Note: The component will be updated to show the highlighted text in the edit component.

## Callback

N/A

## Video

Coming Soon.

## Example

Coming Soon.

### Steps

Coming Soon.

### Result

Coming Soon.

## Links
