Custom fields have no border styling.
See original GitHub issueWhen 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:
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:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@deviousgeek This is fixed on
2.8.2
.Legend.