Select with native false and populate after rendered

I have an select which gets populated by the selected value of another select in the form.

->options(function (Get $get) {
return Unit::where('unit_group_id', $get('unit_group_id'))->pluck('name', 'id');
})

I have this code to load the units based on the selected value unit_group_id of the other select.
But with native false the select is not populated, but when I remove the native false it works.
I could not find the reason in the docs why this does not work. Any thoughts of this?
Was this page helpful?