[Silk UI Web] Button .Load Class Bug

Forge Component
Published on 25 Mar by OutSystems R&D
82 votes
Published on 25 Mar by OutSystems R&D

I've notice that using the .Load class on links results on always firing the client side validations, completely ignoring the provided validation parameter.

I think that the onclick function added to the links should check if the link was supposed to fire the client side validation before firing.

The clickedFunction should be change from:

function clickedFunction(event){

to something like

function clickedFunction(event){
       var IsValidatingForm = $(this).attr("onclick").indexOf("ClientValidate") >= 0;
       if(IsValidatingForm && !OsPage_ClientValidate(this.id)) return;

I'm facing the same problem!

I'm too!

It has been a long time, several Silk version were released and none of those versions address this issue, so i believe it will be ignored. :(

Just in case someone faced the same issue, i've published a component that works around the problem:




The team has been looking into this issue and there will be a release with an updated Load button mechanism next week, along with other improvements on the framework.

Thank you for raising the issue and for pointing a solution as well :)

My regards,