а

Unusual autofill on grid filters


#1

Strange problem: Just recently (about 1 month), when using google Chrome, the last filter box on each grid in my app auto-fills with my “firstname.lastname”.
I have tried deleting chrome’s cache, history, etc… but the problem persists.
I have tried clearing the filters after the onload event like below but the problem persists.
Has anyone experienced the same behaviour?

dhtmlXGridObject.prototype.resetFilters = function(){
    if (!!this.filters){
        for(var i=0;i<this.filters.length;i++){
            if (!!this.filters[i][0]) {
                this.filters[i][0].old_value="";
                this.filters[i][0].value="";
            }
        }
        this.filterBy(0,"");
    }
};

gridV2.resetFilters();
gridV2.clearAndLoad("…/connectors/atv2testGrid.php", function(){
gridV2.resetFilters();
gridV2.sortRows(1,“str”,“des”);

});


#2

Unfortunately the problem cannot be reconstructed locally.
If the problem still occurs for you please, provide a complete demo, demo link or a snippet, where the problem can be reproduced:
http://snippet.dhtmlx.com/b7ec91fd1


#3

Hi,

I have also come across this issue and can confirm that it is related to the browser’s autofill function; if autofill is disabled the filter works as normal on the DHTMLX grid.

Is it possible to prevent the browser from attempting to autofill the grid’s filter boxes? E.g. by adding autocomplete="false" to the HTML fields that they’re based on?

Thanks


#4

Unfortunately it is not available to disable the autocomplete to the certain dhtmlxGrid filters.


#5

This is getting really serious!
I’m getting autofill on my grid filters continuously now … getting impossible to use the grid filters…


#6

Could you please, clarify, what filter type exactly you are using. Also, could you please, clarify the moment that it is impossible for you to use the filtering in the grid.