I want to eliminate the label part of the below dropdown box but, I am pasting my code so any one can help me on how exactly the code should look like.
function loadoperaciones() { wixData.query('operaciones') .find() .then(res => { let options = [{"value": '', "label": 'Seleccionar una opcion'}]; options.push(...res.items.map(operacion => { return {"value": operacion.title, "label": operacion.title}; })); $w('#ioperacion').options = options; }); }