# setValue

Sets the selected value and optionally the active element ID.

## Signatures

```ts
export declare function setValue<E, R>(state: RefSubject.RefSubject<State, E, R>, value: string, activeId?: string): Effect.Effect<State, E, R>;
```


