@dialstack/sdk / react / useDialInput
Function: useDialInput()
function useDialInput(setValue): UseDialInput;
Defined in: sdk/src/react/softphone/hooks/useDialInput.ts:24
Shared cleaning for a dial-string input, used by BOTH the dial pad and the transfer field on web + RN so the "what may I type / what does a paste become" rule lives in one place. Each platform wires its native input event (web onChange/onPaste, RN onChangeText) to these — the string logic never diverges.
Parameters
setValue
(value) => void