This is an example of populating one acf select field bases on another acf select field without the block editor.
However, I have no idea what changes would need to be make to get this to work in a block. https://github.com/Hube2/acf-dynamic-ajax-select-example/tree/master/dynamic-select-example