I was just wondering if it is possible to “dynamically” change the settings tab of a custom snap. What I mean by this is to dynamically change one field by changing some other field. For example let’s say I have two fields “Locale” and “Amount”
Let’s say that I want to change the “Amount” field to some other value if we select another locale. For example if I change from locale “es” to locale “en” I want to change the value of the “Amount” field to “40”. Or let’s say when I change from one locale to another I want another field to be “added” in the settings tab.
Is such a thing even possible ? I’ve searched the documentation and I found that the “Settings” tab of the snap is created at build time ( defineProperties method ), so I was just wondering if it is even possible to do such a thing ? Are there any “events” to handle this type of dynamic evaluation ?