Need a special offer?Find out if your project fits.
+

Expand not working with string number uniqueName on setReport and new Flexmonster init

Answered
Jevgenijs Cibankovs asked on November 21, 2019

Is it expected or not that uniqueName could be string number like "111".

Link to reproduce: https://jsfiddle.net/yk90sdte/

I modified this example from https://jsfiddle.net/flexmonster/6qr4q7sg/ and replaced "country" uniqueName with "111", and it doesn't load in the expanded state anymore.

After clicking to expand - it works as expected and getReport also returns expand data with "111".

But, when trying to set a report after expanding with setReport, it also loses expanded state
(click in example after expanding "Get & Load report" button)

4 answers

Public
Vera Didenko Vera Didenko Flexmonster November 22, 2019

Hello, 
 
Thank you for providing a JSFiddle example for illustration.
 
The described behavior looks like an issue.
Our team will provide the fix for it in the minor release version with the ETA 16th of December.
 
Please let us know if you have any questions.
 
Best Regards,
Vera

Public
Jevgenijs Cibankovs November 22, 2019

Thanks! Will wait for the fix then

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster December 17, 2019

Hello,
 
We are pleased to inform you that the issue with expands not being applied when the field’s uniqueName starts with a number was fixed.
This is provided in the 2.7.21 version of Flexmonster: https://www.flexmonster.com/release-notes/
 
You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/
 
Please let us know if everything works fine for you.
 
Best regards,
Illia

Public
Jevgenijs Cibankovs December 20, 2019

Thanks, issue solved now!

Please login or Register to Submit Answer