Skip to content
Snippets Groups Projects

Add an indicator for characters left before hitting the limit

Merged dtluna requested to merge (removed):feature/post-length-indicator into develop
4 files
+ 32
5
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -94,6 +94,18 @@ const PostStatusForm = {
},
customEmoji () {
return this.$store.state.config.customEmoji || []
},
statusLength () {
return this.newStatus.status.length
},
statusLengthLimit () {
return this.$store.state.config.textlimit
},
hasStatusLengthLimit () {
return this.statusLengthLimit > 0
},
charactersLeft () {
return this.statusLengthLimit - this.statusLength
}
},
methods: {
Loading