GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Hi, on certain browsers (IE9, Safari) the autocomplete feature does not trigger "onchange" event.
As a result, fields which are autocompleted are inserted as NULL by Adminer.
I suggest to disable autocomplete feature when using Adminer.
Another way to go would be to fix the event handling, but that seems a much bigger change.
Disabling autocomplete on text inputs
Autocomplete is pretty useful. Also, is there a reason for doing this in JS? I couldn't reproduce it in IE10.
I agree, autocomplete is pretty useful. The thing is that it makes Adminer misbehaving on Safari (Mac) and IE9. I don't have any IE10 to test it. Here's how to reproduce it on Safari/IE9:
CREATE TABLE `mytable` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(20) DEFAULT NULL,
`data` varchar(29) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Now you should see the followings values in your table:
As you can see, if you want to use the autocomplete feature with Adminer using Safari or IE9, you get into trouble.