Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
Line 312: Line 312:
 
         const sourceOptions = Array.from(document.querySelectorAll('#data-source-filter input[type="checkbox"]'));
 
         const sourceOptions = Array.from(document.querySelectorAll('#data-source-filter input[type="checkbox"]'));
 
         const selectedSources = sourceOptions.filter(checkbox => checkbox.checked).map(checkbox => checkbox.value);
 
         const selectedSources = sourceOptions.filter(checkbox => checkbox.checked).map(checkbox => checkbox.value);
 +
        console.log('ALL', sourceOptions)
 +
        console.log('selected', selectedSources)
  
 
         // If all checkboxes are checked, disable the filter.
 
         // If all checkboxes are checked, disable the filter.

Revision as of 17:03, 22 August 2022

Development verstion of the DCT List.
Not ready for production!