How can I stop the browser from url-encoding for react js form for POST data values with password field value included with #

I wanted to stop URL encoding for reactjs form password filed, when I entered the ‘#” in password browser automatically converts it into URL encoding format like ‘%23’, want to stop that or any other solution for this issue.

form is like:

              labels={{
                        passwordInputLabel: 'Password',
                        passwordPlaceHolder: 'Enter password',
                        loginButtonMessage: 'Logging In'