Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes the MUI Text Field overwrites content that was programatically entered with the component "label" #3507

Closed
SailingSteve opened this issue Aug 24, 2022 · 2 comments
Assignees

Comments

@SailingSteve
Copy link
Member

SailingSteve commented Aug 24, 2022

Part of this task is to figure out how to reproduce the problem, the second is to fix it. I think this is a known issue for MUI.

    <StyledTextField
        type="text"
        label="Name Shown with Endorsements"
        margin="dense"
        autoComplete="organization"
        variant="outlined"
        id={`organization-name-${externalUniqueId}`}
        name="organizationName"
        placeholder="How would you like your name displayed publicly?"
        onKeyDown={this.handleKeyPressOrganizationName}
        onChange={this.updateOrganizationName}
        value={organizationName}
    />
@SailingSteve
Copy link
Member Author

Screen Shot 2022-08-24 at 2 38 12 PM

@DaleMcGrew
Copy link
Member

Thank you @fdiazq for researching this, and providing the following notes. I am closing this at your recommendation.

The issue involves text being overwritten from StyledTextField.
I tested the profile settings page to attempt to reproduce the issue , and I haven't been able to reproduce it.
I tested on Chrome,Safari, and Firefox browsers as well as on BrowserStack with the apk WeVoteV2-4-5Feb28-731pm.apk for android devices as well as the iOS app from the AppStore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants