Skip to content

Commit

Permalink
Sabau/1655 trim input (#1703)
Browse files Browse the repository at this point in the history
* trim text and textarea inputs

Signed-off-by: Karoly Albert Szabo <[email protected]>

* updated changelog + fixed old lines

Signed-off-by: Karoly Albert Szabo <[email protected]>
  • Loading branch information
sabau authored and jbibla committed Dec 5, 2018
1 parent 5fa2cdd commit d8bea39
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- [\#1547](https://github.com/cosmos/voyager/issues/1547) deleted archive directory of old components @jbibla
- removed unit tests from prepush hook @faboweb
- [\#1566](https://github.com/cosmos/voyager/issues/1566) putting querying errors in the store instead of showing notifications @faboweb
- [\1612](https://github.com/cosmos/voyager/issues/1612) defined props types on components
- [\#1612](https://github.com/cosmos/voyager/issues/1612) defined props types on components
- changed `err` to `error` because abbreviations are bad @faboweb
- [\1609](https://github.com/cosmos/voyager/issues/1609) switched to css and html to onboard developers faster @faboweb
- [\1594](https://github.com/cosmos/voyager/issues/1594) disable decimal amount transfers @fedekunze
- [\1680](https://github.com/cosmos/voyager/issues/1680) updated `TmBalance` to receive tabs an array of objects to avoid conflicting routes @fedekunze
- [\1638](https://github.com/cosmos/voyager/issues/1638) removed account password from the state and now user has to input it on every transaction @fedekunze
- [\#1609](https://github.com/cosmos/voyager/issues/1609) switched to css and html to onboard developers faster @faboweb
- [\#1594](https://github.com/cosmos/voyager/issues/1594) disable decimal amount transfers @fedekunze
- [\#1680](https://github.com/cosmos/voyager/issues/1680) updated `TmBalance` to receive tabs an array of objects to avoid conflicting routes @fedekunze
- [\#1638](https://github.com/cosmos/voyager/issues/1638) removed account password from the state and now user has to input it on every transaction @fedekunze
- [\#1655](https://github.com/cosmos/voyager/issues/1655) Text and Textarea fields trimmed @sabau

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion app/src/renderer/components/common/TmModalSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<div class="tm-modal-search-field">
<tm-field
id="search-input"
v-model="query"
v-model.trim="query"
class="mousetrap"
type="text"
placeholder="Search..."
Expand Down
2 changes: 1 addition & 1 deletion app/src/renderer/components/common/TmSessionImport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
>
<tm-field
id="import-name"
v-model="fields.importName"
v-model.trim="fields.importName"
type="text"
placeholder="Must have at least 5 characters"
/>
Expand Down
2 changes: 1 addition & 1 deletion app/src/renderer/components/common/TmSessionSignUp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
>
<tm-field
id="sign-up-name"
v-model="fields.signUpName"
v-model.trim="fields.signUpName"
type="text"
placeholder="Must be at least 5 characters"
/>
Expand Down
4 changes: 2 additions & 2 deletions app/src/renderer/components/governance/ModalPropose.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<tm-field
v-focus
id="title"
v-model="title"
v-model.trim="title"
type="text"
placeholder="Proposal title"
/>
Expand All @@ -32,7 +32,7 @@
<span>Description</span>
<tm-field
id="description"
v-model="description"
v-model.trim="description"
type="textarea"
placeholder="Write your proposal here..."
/>
Expand Down

0 comments on commit d8bea39

Please sign in to comment.