Hi,

I am trying to make a detail available.  At Detail setup the checkbox 'Make the list editable' is disabled:

 

Like 0

Like

3 comments
Best reply

Hello,

 

The checkbox becomes disabled when any modifications are applied to the detail schema in configurations, such as comments, custom methods, attributes, etc. This behavior is determined by the _canChangeType method in the DetailDesignerUtils module. The logic ensures that when the checkbox is disabled, the wizard does not save modifications applied to the base detail with a list schema, preventing any loss of changes.

This logic cannot be overridden, which is why the detail cannot be switched from an editable list detail to a standard detail if schema modifications are present.

To address this issue, you can choose one of the following approaches:

 

  1. Remove the custom code, including comments, and save the changes. This will make the checkbox available again in the detail wizard.
  2. Delete all methods and values associated with the edited detail's features from the detail schema. This will make the detail non-editable.

     

We would also like to highlight that this logic has been improved in the new FreedomUI designer. The updated designer addresses these nuances, allowing you to modify the attribute of the edited pattern with a single setting, without requiring additional code changes.

Hello!

 

Could you please specify the issue you are facing?

 

Additionally, we were unable to view the picture you provided. Could you kindly resend it for us to review?

 

Thank you in advance, and we look forward to your reply!

Hello,

 

The checkbox becomes disabled when any modifications are applied to the detail schema in configurations, such as comments, custom methods, attributes, etc. This behavior is determined by the _canChangeType method in the DetailDesignerUtils module. The logic ensures that when the checkbox is disabled, the wizard does not save modifications applied to the base detail with a list schema, preventing any loss of changes.

This logic cannot be overridden, which is why the detail cannot be switched from an editable list detail to a standard detail if schema modifications are present.

To address this issue, you can choose one of the following approaches:

 

  1. Remove the custom code, including comments, and save the changes. This will make the checkbox available again in the detail wizard.
  2. Delete all methods and values associated with the edited detail's features from the detail schema. This will make the detail non-editable.

     

We would also like to highlight that this logic has been improved in the new FreedomUI designer. The updated designer addresses these nuances, allowing you to modify the attribute of the edited pattern with a single setting, without requiring additional code changes.

Show all comments