desmos-labs / mooncake

The first decentralized social app based on Desmos
MIT License
46 stars 14 forks source link

Profile fields editor not trimming the values #87

Closed RiccardoM closed 4 years ago

RiccardoM commented 4 years ago
## Generic information - OS name and version: iOS/Android - Application build code: 4102` - Network type (mobile/Wi-Fi): Both ## Bug description When editing the profile info (DTag, Biograpgy, etc), the input fields do not properly validate the input. Currently, if the user enters a value ending with a space (` `), when saving the DTag an error will be returned. ## Steps to reproduce 1. Open the edit account screen. 2. Input a DTag value ending with a space. 3. Try saving the profile. ## Expected behavior The input fields should be validated properly following the parameters that are present on chain as well. The user should not be allowed to save the profile if the input fields do not pass the validation rules.