mirror of
https://github.com/directus/directus.git
synced 2026-01-30 06:58:09 -05:00
Fix dbsafe prop of v-input component
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user