Allow adding "accept" attribute to file upload test types.

Issue #534 new
Randle Taylor created an issue

This should be implemented as a separate field on the Test model, but as a workaround you can use some TestList javascript to do e.g.

require(['jquery'], function($){
  setTimeout( function(){$("input[type=file]").attr("accept", ".csv");}, 1000);
});

Which will set the attribute after the page is loaded.

Comments (0)

  1. Log in to comment