enhancement
major
minor
major
minor
enhancement
If a tl:FormField is invisible, the tl:CodeEditorControl still renders the entire editor to the GUI. This is unnecessary; it causes unnecessary initialization code to be executed on the client side.
Improvement
The client-side editor is rendered only when the field is visible.
Test
- Go to Technical Demo > LayoutFramework#1 > Forms > FormControls
- Search for the "XML Editor" group
- Click the "Hide" command.
- Expected result: The ACE editor in the group is no longer displayed
- Expected: No ACE Editor is displayed in the source code ("F12" Tools); for example, no "ace_gutter" class can be found.