src/Easy/EasyForm.php
public function getElementID()
    {
        $id = $this->dataPanel->getByField('Id')->getValue();
        if ($id) {
            return (int) $id;
        } else {
            return (int) $this->recordId;
        }
    }
public function getElementID()
    {
        $id = $this->dataPanel->getByField('Id')->getValue();
        if ($id) {
            return (int) $id;
        } else {
            return (int) $this->recordId;
        }
    }
Get element Id

@return mixed