"Ad hoc filters" is always empty and error with Last value

What Grafana version are you using? Grafana v7.4.3
What datasource are you using? Elasticsearch
What OS are you running grafana on? Windows
What did you do?
Create ad hoc “filters” template from Variables settings(i’ve add the datasource before).
What was the expected result?
The filter should apply to the graph (as advertised).
What happened instead?
No options found appears.
The next issue is: i can’t see the correct Last value when i query the datasource, how it’s possible?