YetAnotherConfigLib

YetAnotherConfigLib

13M Downloads

Values and Settings don't update until you close and then reopen the screen.

CrytoPal opened this issue ยท 1 comments

commented

If you have an Enum setting and another setting that requires a certain enum value to show, the setting will not appear until you close and reopen the YACL screen. (This also applies to modifying the settings of any Options, the values won't change until you close, and reopen the YACL screen.)

commented

I've also encountered this. I was trying to add additional options when another option got changed by using the optionIf builder but as @CrytoPal said you need to reopen the config screen.

To fix this one could provide a flag to indicate that the option should rebuild the screen or update existing "if" options. Implementing this may be easier said than done. A welcome feature nonetheless!