Demo-Page Repository

Home > mui-country-code-selector > CCSelectorState > placeInputSelection

CCSelectorState.placeInputSelection property

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Places the cursor (more specifically the start and end indices of the text selection) within the phone number input element according to the inputSelection state variable.

Signature:

placeInputSelection: () => void;