Skip to content

Commit

Permalink
feat(date input): Allow including in VorabCheck and Form pages
Browse files Browse the repository at this point in the history
  • Loading branch information
frederike-ramin committed Nov 22, 2023
1 parent d14a635 commit cfc594e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@
"form-elements.select",
"form-elements.checkbox",
"form-elements.dropdown",
"form-elements.tile-group"
"form-elements.tile-group",
"form-elements.date-input"
],
"pluginOptions": {
"i18n": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"form-elements.select",
"form-elements.checkbox",
"form-elements.dropdown",
"form-elements.tile-group"
"form-elements.tile-group",
"form-elements.date-input"
],
"pluginOptions": {
"i18n": {
Expand Down
1 change: 1 addition & 0 deletions types/generated/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ declare module '@strapi/types' {
'basic.paragraph': BasicParagraph;
'form-elements.button': FormElementsButton;
'form-elements.checkbox': FormElementsCheckbox;
'form-elements.date-input': FormElementsDateInput;
'form-elements.dropdown': FormElementsDropdown;
'form-elements.input': FormElementsInput;
'form-elements.select': FormElementsSelect;
Expand Down
9 changes: 5 additions & 4 deletions types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,8 @@ export interface ApiFormFlowPageFormFlowPage extends Schema.CollectionType {
'form-elements.textarea',
'form-elements.select',
'form-elements.checkbox',
'form-elements.dropdown'
'form-elements.dropdown',
'form-elements.date-input'
]
> &
Attribute.SetPluginOptions<{
Expand Down Expand Up @@ -1241,8 +1242,7 @@ export interface ApiPagePage extends Schema.CollectionType {
'page.box',
'page.link-list-box',
'page.box-with-image',
'page.list',
'form-elements.date-input'
'page.list'
]
> &
Attribute.Required &
Expand Down Expand Up @@ -1564,7 +1564,8 @@ export interface ApiVorabCheckPageVorabCheckPage extends Schema.CollectionType {
'form-elements.textarea',
'form-elements.select',
'form-elements.checkbox',
'form-elements.dropdown'
'form-elements.dropdown',
'form-elements.date-input'
]
> &
Attribute.SetPluginOptions<{
Expand Down

0 comments on commit cfc594e

Please sign in to comment.