Skip to content

Commit

Permalink
Merge 1b2b679 into 21a3097
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-hoehn committed May 29, 2023
2 parents 21a3097 + 1b2b679 commit 101d223
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -252,8 +252,8 @@ export default {
if (!this.widget.uid) {
this.$f7.dialog.alert('Please give an UID to the widget')
return
} else if (!/^[A-Za-z0-9_]+$/.test(this.widget.uid)) {
this.$f7.dialog.alert('Widget UID is only allowed to contain A-Z,a-z,0-9,_')
} else if (!/^[A-Za-z0-9_-]+$/.test(this.widget.uid)) {
this.$f7.dialog.alert('Widget UID is only allowed to contain A-Z,a-z,0-9,_,-')
return
}
// if (!this.widget.config.label) {
Expand Down

0 comments on commit 101d223

Please sign in to comment.