(input: string, state: AutoCompleteState, options: AutoCompleteOptionsReq<A>)
| 3340 | Effect.succeed(Action.NextFrame({ state: updateAutoCompleteState(state, options, "") })) |
| 3341 | |
| 3342 | const processAutoCompleteInput = <A>(input: string, state: AutoCompleteState, options: AutoCompleteOptionsReq<A>) => { |
| 3343 | if (input.length === 0) { |
| 3344 | return Effect.succeed(Action.Beep()) |
| 3345 | } |
| 3346 | const query = state.query + input |
| 3347 | return Effect.succeed(Action.NextFrame({ state: updateAutoCompleteState(state, options, query) })) |
| 3348 | } |
| 3349 | |
| 3350 | const handleSelectRender = <A>(options: SelectOptionsReq<A>) => { |
| 3351 | return (state: SelectState, action: Action<SelectState, A>) => { |
no test coverage detected