Conditional logic for dropdown options

Is there a way to add conditional logic on dropdown list options on forms?
Depending on another form field I can add conditional logic to either show or hide dropdown field itself but is there a way to apply that logic to dropdown filed options through umbraco.
I am using Umbraco 13


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/114771-conditional-logic-for-dropdown-options