mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
validate default color
This commit is contained in:
@@ -19,6 +19,7 @@ export default defineComponent({
|
||||
defaultColor: {
|
||||
type: String,
|
||||
default: '#B0BEC5',
|
||||
validator: (value: string) => isHex(value),
|
||||
},
|
||||
},
|
||||
setup(props) {
|
||||
|
||||
Reference in New Issue
Block a user