Skip to content

docs(widgets-object): fix example to use real widget instead of nonexistent "date" (DCMS-477) - #9

Open
sempostma wants to merge 1 commit into
mainfrom
fix/dcms-500-fix-nonexistent-date-widget-example
Open

docs(widgets-object): fix example to use real widget instead of nonexistent "date" (DCMS-477)#9
sempostma wants to merge 1 commit into
mainfrom
fix/dcms-500-fix-nonexistent-date-widget-example

Conversation

@sempostma

Copy link
Copy Markdown
Member

Closes laikacms/decap-cms#500

The Object widget's own example config used widget: "date", which doesn't exist in the widget registry (only datetime does, via decap-cms-widget-datetime). Fixed the example to use widget: "datetime" with date_format: "MM/DD/YYYY" (the actual date-only option name; format sets the combined datetime storage format).

Grepped content/docs/ for other stray widget: "date" examples — this was the only occurrence; other date-named fields already correctly use widget: "datetime".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(widgets-object): example config uses nonexistent widget "date" — DCMS-477

1 participant