Skip to content

Commit 8809f34

Browse files
committed
Slugify title for user group creation. Closes #994
1 parent 8ff1147 commit 8809f34

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

resources/js/components/user-groups/PublishForm.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ export default {
7777
}
7878
},
7979
80+
watch: {
81+
'title': function(display) {
82+
this.handle = this.$slugify(display, '_');
83+
}
84+
},
85+
8086
computed: {
8187
8288
hasErrors() {

0 commit comments

Comments
 (0)