Feature request
-
I would like to have a tabindex on the input boxes on the delivery list where the users select the amount of shipped items. It would also be nice if the first input box could have focus when the list opens, can be done if you set incremental tabindex and then select the first one. Both of these suggestions will make the list easier to work with. Most times my users will use the check all checkbox and then insert values in the input boxes and hence being able to tab between inputs is better than having to tab twice because there are checkboxes to.
I have added
for(var i=0;i<data.products.length;i++){ let j = i+1; html+='<tr class="alternate">\ <td class="txt-ltr">'+data.products[i].name+'</td>\ <td class="txt-ctr">'+data.products[i].qty+'</td>\ <td class="txt-ctr"><input data-item-id="'+data.products[i].id+'" data-order-id="'+data.products[i].order_id+'" class="wxp-order-item-shipped" type="number" min="0" max="'+data.products[i].qty+'" step="1" value="'+data.products[i].shipped+'" tabindex="'+j+'"></td>\ </tr>'; }to the admin-scripts.js file to add the tabindex. Not sure on how to add focus in a fancybox, but maybe you can figure that out.
The topic ‘Feature request’ is closed to new replies.