feat: add title to dynamic section (#2614)
* feat: add title to dynamic section * fix: formatting * feat: use badge rather than text * fix: use board radius * fix: use shared.ts validation --------- Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
@@ -980,6 +980,9 @@
|
||||
"remove": "Remove dynamic section"
|
||||
},
|
||||
"option": {
|
||||
"title": {
|
||||
"label": "Title"
|
||||
},
|
||||
"borderColor": {
|
||||
"label": "Border color"
|
||||
}
|
||||
|
||||
@@ -60,6 +60,7 @@ const emptySectionSchema = z.object({
|
||||
});
|
||||
|
||||
export const dynamicSectionOptionsSchema = z.object({
|
||||
title: z.string().max(20).default(""),
|
||||
borderColor: z.string().default(""),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user