question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom fields have no border styling.

See original GitHub issue

When a custom field is added, the border styling applied to the email / username / password fields (ones that are not custom) is not applied.

Code snippet or sample project that reproduces the bug:

Lock implementation:

CustomField fieldName = new CustomField(R.drawable.com_auth0_lock_ic_username, CustomField.FieldType.TYPE_NAME, "name", R.string.hint_name);
List<CustomField> fields = new ArrayList<>();
fields.add(fieldName);
mLock = Lock.newBuilder(mAuth0, new AuthenticationCallback() {...})
        .withSignUpFields(fields)
        .allowSignUp(true)
...
        .build(this);

Lock theme:

<style name="LockTheme" parent="Lock.Theme">
        <item name="Auth0.HeaderLogo">@drawable/ui_logo_app</item>
        <item name="Auth0.HeaderTitle">@string/log_in_text</item>
        <item name="Auth0.HeaderTitleColor">@color/md_grey_900</item>
        <item name="Auth0.HeaderBackground">@color/appPrimaryBand</item>
        <item name="Auth0.PrimaryColor">@color/appPrimaryDark</item>
        <item name="Auth0.DarkPrimaryColor">@color/appPrimaryDarker</item>
        <item name="android:windowLightStatusBar" tools:targetApi="m">true</item>
    </style>

Screenshots when appropriate:

image

Lock version: 2.8.1. Android version & Phone Model when appropriate: Samsung Galaxy S7 (SM-G930F), Android 7.0. Versions of Gradle, Android Plugin, Build tools & Android SDK:

Gradle: 4.4.
Android Plugin: 3.0.1.
SDK & Build Tools: 26 / 26.0.3.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lbalmacedacommented, Feb 26, 2018

@deviousgeek This is fixed on 2.8.2.

0reactions
mcbridetcommented, Feb 28, 2018

Legend.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Remove and Style the Border Around Text Input Boxes ...
To have clear fields in your forms, set the outline property to its "none" value, which is used to display no outline. input...
Read more >
Show no border on focus of an input field - css - Stack Overflow
This should not show borders. I now have the following problem, when I click on the input field a border is still shown....
Read more >
A container field similar to a Group but is only for layout - ACF ...
It would be very useful to have a field similar to a Group field, but that doesn't have a name and wouldn't have...
Read more >
Styling Custom Fields | WordPress.org
Hi there, I'm having trouble increasing the font size and changing the font color of a custom field within a packing slip. I'm...
Read more >
border-color - CSS: Cascading Style Sheets - MDN Web Docs
The border-color property may be specified using one, two, three, or four values. When one value is specified, it applies the same color...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found