Open cartbar opened 5 years ago
@cartbar I'm not seeing the typo myself and your possible fix shows two code snippets which appear to be identical. Can you check and review?
Hello.
Please look at line 114 on both code sections and you will see 'print="false"' in the second one but not in the first.
Regards
@cartbar thanks for the further information. I've added your code to the editviewdefs.php but I'm not seeing the issue. Can you clarify exactly where you're making changes, in which module i.e. if it's a custom module are you making the change in the core modules dir or in custom, can you also show screen shots of how your layout is looking and maybe a console snippet or output on the browser of where the number 2 is output? Thanks.
As I said in my initial post: "I have defined custom code is the editviewdefs.php of my custom module"
Specifically, the editviewdefs.php file is in /modules/
$module_name` = '
Without the change to the template, with I edit a record I get:
You can see the "2" after the field
Issue
I have defined custom code is the editviewdefs.php of my custom module, thus:
Expected Behavior
When viewing the edit screen I should get the following HTML:
Actual Behavior
I get the following HTML:
i.e. there is a "2" after the input field
Possible Fix
It appears that there is a typo in themes/SuiteP/include/EditView/tab_panel_content.tpl:
Should be:
Your Environment