I am trying to use the standard self-registration lightning component to get the capability for the external users to create a new user account in the community. On the Community's administration, I have already enabled : 'Allow external users to self-register', Chosen the Register community page, added my community profile and appended a temporary account.
Used the Lightning component: selfRegister on the Register community page. When I try to register with some test data, I am getting this error: Ending position out of bounds: -1 I didn't made any changes to any of the code in the Ltng component or controller class. What I am doing wrong here? Just trying to make use of OOB functionality which is not working.
Referred this doc:
Some suggestions/references/workarounds would be really appreciated.