material-components / material-components/material-components-android

[TextInputEditText] Several issues with typefaces in TextInputEditText (e.g.,Typeface is not applied with textPassword inputType)

Open
#584 16 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Good First Issue Widget: TextField
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**Description:**
Typeface is not applied with textPassword inputType.

**Expected behavior:**
When android:inputType="text|textPassword|textNoSuggestions" (incorrect behaviour)
![Screenshot_1568119309](https://user-images.githubusercontent.com/1014339/64614901-bc2de880-d3d9-11e9-8c6e-ac6375e285f2.png)

When android:inputType="text|textNoSuggestions" (expected behaviour)
![Screenshot_1568119497](https://user-images.githubusercontent.com/1014339/64614915-c2bc6000-d3d9-11e9-904b-e6a725cbd4ee.png)

**Source code:**



<item name="android:fontFamily">@font/ubuntu_regular</item>
<item name="fontFamily">@font/ubuntu_regular</item>

**Android API version:**
All

**Material Library version:**
1.0.0

**Device:**
Emulators

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the provided TextInputLayout and TextInputEditText XML, comparing the textPassword and textNoSuggestions inputType variants. Trace TextInputEditText's typeface behavior and verify that the configured font is applied when the password combination is used across the reported Android APIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.