test select widget

This commit is contained in:
maxime-cool 2024-01-24 10:58:54 +01:00
parent 971b29983c
commit d5d87aac23
4 changed files with 10552 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules/

10535
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

5
package.json Normal file
View File

@ -0,0 +1,5 @@
{
"dependencies": {
"@staticcms/core": "^4.0.1"
}
}

View File

@ -34,3 +34,14 @@ collections:
media_library:
config:
multiple: true
- label: 'Settings'
name: settings
files:
- label: 'Theme Settings'
name: theme settings
file: 'site/settings.toml'
fields:
- label: toml file
name: toml file
widget: 'select'
options: ["rouge", "bleu", "vert"]