MZ Editing 111InputInputForm.js

This is related to this thread by @cherrycthulhu but I didn't want to either necropost or hijack that thread. My goto input plugin remains 111_InputForm which can be found here. The license is public domain. I agree that the autocomplete dropdown list is very annoying and undesirable, so I tried to find a way to disable that. All searches suggest it must be done at the html <form> level and not css or javascript. I did alter the plugin and it does seem to work. (My default browser is Chrome.) I'm only asking for confirmation from someone who is a bit more knowledgeable about HTML and plugins if the line I entered is valid or if it might pose problems.

The code I looked at is

Code:
                create : function(){
                    // input form
                    this.input = document.createElement('input');
                    this.input.setAttribute('id', '_111_input');
                    if(max_count)this.input.setAttribute('maxlength', max_count);

<snippet of plugin>
I added the line --> this.input.autocomplete = 'off'
so it now looks like
Code:
                create : function(){
                    // input form
                    this.input = document.createElement('input');
                    this.input.setAttribute('id', '_111_input');
                    this.input.autocomplete = 'off';
                    if(max_count)this.input.setAttribute('maxlength', max_count);

<snippet of plugin>
Again, it seems to achieve the desired effect. I'd just like confirmation that it's a valid alteration of the code and isn't likely to cause glitches down the road. Thanks.

Original thread: https://forums.rpgmakerweb.com/threads/editing-111inputinputform-js.166467/