-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
While using either the boolean widget or the select widget I noticed one bug. In the example I sent you I have two values and if I select one value and do publish, I stay on the same page and try to change the value again. The Publish option remains disabled for me, as if I haven't even made a change.
To Reproduce
- Go to page which contains boolean or select widget
- Update that value and press Publish
- Publish button will be now disabled since you have latest content
- Update value again
- Publish button stays disabled
- Update value to the saved one, publish button is enabled even there is no logic update on same value as it is
-->
Expected behavior
If we update value and press publish, and then we update value again it should enable publish button.
Video
(https://share.vidyard.com/watch/jJonJqNeZQydipkkjKyvgB)
Applicable Versions:
- Netlify CMS version: [netlify-cms 2.10.186]
- Git provider: [GitHub]
- OS: [Windows 10]
- Browser version [CHROME Version 97.0.4692.99]
- Node.JS version:
CMS configuration
{label: Simpy IZI, name: simplyIzi, widget: object, fields: [
{label: "Links", name: "links", widget: list, label_singular: "link", fields: [
{label: "Text", name: "text", widget: "string"},
*ICON,
{label: "Url", name: "href", widget: "string"},
{ label: "External", name: "external", widget: "select", options: ["true","false"]}, <!- this is causing problems: -->
]},
{label: "Items", name: "items", widget: list, label_singular: "item", fields: [
{label: "Text", name: "text", widget: "string"},
*ICON,
{label: "Link", name: "link", widget: object, fields: [
{label: "Text", name: "text", widget: "string"},
{label: "Url", name: "href", widget: "string"},
]}
]}
]},