Set value in datalist
User Assistant You can set the value of an “ field based on a selection from the “ in JavaScript. Assuming you have an “ element that uses the “: ### Example: <input type="text" id="product_input-<?php echo $product->get_id(); ?>" list="product_code-<?php echo $product->get_id(); ?>"> <datalist id="product_code-<?php echo $product->get_id(); ?>"> <?php if(is_array($p_sku) && count($p_sku) > 0){ foreach($p_sku as […]