Dynamic Databricks Widgets
Dynamic Databricks Widgets is a common problem, especially when working in Databricks. Changing one widget can lead to others adjusting in response. That can be a bit tricky, but it's not hard. Here's the secret: the widgets must be replaced as they change! For example, let's say you have a date input, and whenever it changes, you want a second widget to change. That second widget needs to be suffixed with an increasing number as the contents change.