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: media_library:
config: config:
multiple: true 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"]