View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006997 | module Visual CMS | module Visual CMS - sub | public | 2019-06-19 15:34 | 2022-02-02 09:38 |
Reporter | [email protected] | Assigned To | |||
Priority | low | Severity | feature | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 3.3.1 | ||||
Summary | 0006997: clear multi select input field when data-default-value is using | ||||
Description | It's not possible to clear an multiple select field with default data settings. When you create a new widget the default value is selected. After clearing the input-field and save the widget the value is always selected. You can't clear the multi select field when the attribute "data-default-value" is used. After deletion of the values or clearing the input the parameter is not shown in the widget code. I expect that the default value is always being used when the widget is in creation mode and when I clear the input-field the widget parameter is empty. So the visual cms can load the empty parameters and the default value in edit mode is not used anymore. widget addOption code to create the multiple-select-field: 'test' => array( 'type' => 'multi', 'label' => 'test', 'values' => array(0 => 1, 1 => 2, 2 => 3), 'value' => '1' ) | ||||
Steps To Reproduce | 1. Create a new widget, 2. clear the multiple select-input-field 3. save the widget and open it again to edit 4. the default value is always select - to delete this value is not possible | ||||
Tags | No tags attached. | ||||
Attached Files | |||||