decap-cms
decap-cms copied to clipboard
Option to Enable input field only if a checkbox is checked
- Do you want to request a feature or report a bug? Feature
- What is the expected behavior? I will start with an example so that this is better understood
whitelist: status: false type: start-date: end-date:
In the code above, I want the user to only fill in the type and date fields if they change the status to true, So what i am looking for is a way to set a checkbox widget that controls input fields and makes them available when clicked on.
Another example would be a typical 'Others' Input box that becomes available when the user checks the 'others' checkbox.