fix element.form issue when element is option from a select field