Closed bjarthur closed 4 months ago
the second commit in the PR will also cause the display to update when changing the options list programmatically. works fine when the current index is less than the length of the new options, but throws this error otherwise:
julia> V[1].dd.options[] = ["1","2"]
ERROR: BoundsError: attempt to access 2-element Vector{Any} at index [3]
looking into how to fix this now. suggestions welcome!
@SimonDanisch thoughts? i been using this PR in a dev branch and it seems fine so long as the developer makes sure the index does not exceed the length of the options.
previously, you could update
option_index
programmatically, but the display wouldn't change. now it does.