Fix dbsafe prop of v-input component

This commit is contained in:
Nicola Krumschmidt
2020-10-17 16:48:56 +02:00
parent d3de6a5ae9
commit 9ec172ce20

View File

@@ -161,7 +161,7 @@ export default defineComponent({
}
}
if (props.slug === true) {
if (props.dbSafe === true) {
const dbSafeCharacters = 'abcdefghijklmnopqrstuvwxyz01234567890-_~ '.split('');
const isAllowed = dbSafeCharacters.includes(key) || systemKeys.includes(key);