DependsOn does not work correctly with datatable form field

OctoberCMS v1.1.
I need to load options into datatable depends on value of another field.

I have 2 fields:

field_1:
    title: Field 1
    type: dropdown
field_2:
    title: Field 2
    type: datatable
    dependsOn: field_1

In model:

public function getDataTableOptions(){
    dd($this->field_1);
}

But inside getDataTableOptions() value of field $this->field_1 is always the same and do not change after field_1 was changed.

In filterFields() it works correctly.

Does anyone have ideas why this?

Hi @boarworm

This was most likely fixed in v2.2, which involved a heavy refactoring of form and filter fields implementation.

@daft ok, clear. Thank you Sam.