(input: string, state: AutoCompleteState, options: AutoCompleteOptionsReq<A>)
| 3578 | Effect.succeed(Action.NextFrame({ state: updateAutoCompleteState(state, options, "") })) |
| 3579 | |
| 3580 | const processAutoCompleteInput = <A>(input: string, state: AutoCompleteState, options: AutoCompleteOptionsReq<A>) => { |
| 3581 | if (input.length === 0) { |
| 3582 | return Effect.succeed(Action.Beep()) |
| 3583 | } |
| 3584 | const query = state.query + input |
| 3585 | return Effect.succeed(Action.NextFrame({ state: updateAutoCompleteState(state, options, query) })) |
| 3586 | } |
| 3587 | |
| 3588 | const handleSelectRender = <A>(options: SelectOptionsReq<A>) => { |
| 3589 | return (state: SelectState, action: Action<SelectState, A>) => { |
no test coverage detected