HTML widgets now support dynamic configuration based on the values of fields present in the current form context by providing a current_value
function.
Using the current_value( '<field_name>' )
expression will evaluate and update the form when the form field value changes.