RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.57k stars 10.58k forks source link

Custom Account Field Results in Broken Registration Page #22739

Open KyleK1782 opened 3 years ago

KyleK1782 commented 3 years ago

Description:

I've added a custom text field in the user account setting, this then modifies the registration page. The new field doesn't follow the style of the other input boxes on the register page, see image attached.

Steps to reproduce:

  1. Add a new field in Administration -> Accounts -> Registration -> "Custom Fields" Code Used:
    {"Extension": {
    "public": true,
    "type": "text",
    "defaultValue": "x100",
    "minLength": 2,
    "maxLength": 4
    }}
  2. Add custom field to Administration -> Accounts -> "Custom Fields to Show in User Info" Code used:
    [{"Extension": "Extension"}]
  3. Visit the registration link

Expected behavior:

I expect the custom field to match the same style as the other input fields.

Actual behavior:

The custom field box does not match the style as the other input fields.

Server Setup Information:

Client Setup Information

Additional context

custom_field_issue

johncrisp commented 3 years ago

Hi and thanks for reporting this.

Version of Rocket.Chat Server: Latest Deployment Method: Snap

Snaps are not the 'latest' version.

Currently we are on 3.16.3 and about to release 3.17 any moment.

It is worth running a test docker VM for this sort of thing so you can check whether the issue has already been fixed.

debdutdeb commented 3 years ago

This issue seems to be persisting on both 3.16.3 AND 3.17.0