Object.keys(fieldValue).map((item) => {if (!fieldValue[item] || fieldValue[item].length == 0) {delete fieldValue[item] } })