Description:
In My Account, the current values aren't updated after changes have been saved without reloading.
Steps to reproduce:
- Go to My Account -> Preferences. In Highlights, start editing the "Highlighted words" TextArea.
- Enter "klt"
- Save Changes
- Change to "kl" [ "Save Changes" activates ]
- Change back to "klt" [ "Save Changes" does not deactivate even though this is the current value ]
- Delete all contents of textarea [ "Save Changes" deactivates even though this is not the current value ]
Expected behavior:
The newly entered values to be considered for validation for enabling the "Save Changes" button or for the values to be synchronized with the meteor server by subscriptions or by reloading the webpage.
Actual behavior:
The validation works incorrectly.
Server Setup Information:
- Version of Rocket.Chat Server: 3.10.0-develop
- Operating System: Ubuntu 20.10
- Deployment Method: developing("meteor start")
- Number of Running Instances: 1
- DB Replicaset Oplog: Enabled
- NodeJS Version: 12.18.4 - x64
- MongoDB Version: 4.2.8
Client Setup Information
- Desktop App or Browser Version: Chrome 87.0.4280.88
- Operating System: Ubuntu 20.10
Additional context
I'm aware of where the changes need to be made. However, the approach that should be implemented might need a bit of discussion, as the settings can either be synchronized with the server through subscriptions, the changes made just on that client can be kept in the loop or the whole page can be reloaded.
Description:
In My Account, the current values aren't updated after changes have been saved without reloading.
Steps to reproduce:
Expected behavior:
The newly entered values to be considered for validation for enabling the "Save Changes" button or for the values to be synchronized with the meteor server by subscriptions or by reloading the webpage.
Actual behavior:
The validation works incorrectly.
Server Setup Information:
Client Setup Information
Additional context
I'm aware of where the changes need to be made. However, the approach that should be implemented might need a bit of discussion, as the settings can either be synchronized with the server through subscriptions, the changes made just on that client can be kept in the loop or the whole page can be reloaded.