winter icon indicating copy to clipboard operation
winter copied to clipboard

Disabled nestedform datepicker

Open AIC-BV opened this issue 4 months ago • 0 comments

Winter CMS Build

dev-develop

PHP Version

8.4

Database engine

MySQL/MariaDB

Plugins installed

No response

Issue description

Hello

I found a small bug. When using a disabled nestedform field in combination with a datepicker

The updated_at shows the datepicker form, but the created_at in the configuration object renders a string. This only occurs when the nestedform is disabled. If the nestedform is enabled, but the created_at disabled, it renders the datepicker form as expected.

Image

Steps to replicate

fields:
    updated_at:
        tab: Ontwerp
        label: Updated at
        type: datepicker
        disabled: true

    configuration:
          tab: Ontwerp
          type: nestedform
          usePanelStyles: false
          disabled: true
          trigger:
              action: hide
              field: approved_status
              condition: value[canceled]
          form:
              fields:
    
                  created_at:
                      label: Original created at
                      type: datepicker

Workaround

No response

AIC-BV avatar Sep 10 '25 09:09 AIC-BV