/*!
 * Custom elements for Nanopore-Digital Web applications
 */
export const renderHiddenInput = (container, name, value, disabled) => {
    let input = container.querySelector('input.aux-input');
    if (!input) {
        input = container.ownerDocument.createElement('input');
        // input.type = 'hidden';
        input.classList.add('aux-input');
        container.appendChild(input);
    }
    input.disabled = disabled;
    input.name = name;
    input.id = name;
    input.value = value || '';
};
