Angularjs directives and pipes not working

1 Answer 29 Views
Button General Discussions
Vedad
Top achievements
Rank 2
Iron
Iron
Veteran
Vedad asked on 08 Feb 2022, 11:36 AM

Hi all,

We are using kendo ui jquery for angularjs buttons in our system like this:

<kendo-button id="cancelUpdateBtt" class="k-primary" on-click="cancel()">{{"cancel" | tr}}
            </kendo-button>
            <kendo-button id="detailsBtt" class="k-primary" on-click="Details()">{{'details' | tr}}
            </kendo-button>

I am trying to update our system to latest kendo ui for JQuery release (R1 2022), and all of the sudden our button internationalization using our custom translation angularjs pipe (tr in upper example) is not working any more. Looks like button content gets encoded, so my angularjs not working anymore. I tried using it without pipe, and same issue occurs - so pipe is not a problem.

I can confirm that issue was caused in latest kendo ui version and with following steps.

When I use current version of kendo ui like in following dojo: https://dojo.telerik.com/ABOvameJ/2 
issue is clearly visible - and value is not displayed correctly. (instead of seeing "Something new" we see angularjs biding encoded)

This dojo uses these versions:
    <script src="https://kendo.cdn.telerik.com/2022.1.119/js/angular.min.js"></script>
    <script src="https://kendo.cdn.telerik.com/2022.1.119/js/kendo.all.min.js"></script>
But if you change versions to (for example): 
    <script src="https://kendo.cdn.telerik.com/2021.1.119/js/angular.min.js"></script>
    <script src="https://kendo.cdn.telerik.com/2021.1.119/js/kendo.all.min.js"></script>
Text within button is rendered correctly

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 11 Feb 2022, 10:50 AM

Hello, Vedad,

Thank you for reporting the behavior.

I have logged a new bug in our Feedback Portal for you to track the progress. As the bug was introduced with a previous Kendo version, it is logged with highest priority and a fix will probably be available in the next release in March.

As a small token of gratitude for reporting the issue, I am updating your Telerik Points.

Let me know if you have any further questions.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Vedad
Top achievements
Rank 2
Iron
Iron
Veteran
commented on 11 Feb 2022, 10:53 AM

Hi Martin,

Thank you for your response.

Looking forward to next release then :)

Best,

Vedad

Tags
Button General Discussions
Asked by
Vedad
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Martin
Telerik team
Share this question
or