2
I have the following problem, I have an array of strings that assembles a list:
ex:
op: ['100', '101', '102', '103', '104', '200', '201', '202', '300', '301', '303', '500']
From that list, I create through the v-for various "toggles" that can be enabled/disabled, when it is enabled, I pass to another array, the active strings:
ex:
opSelecionado: ['100', '101', '102', '200']
The difficulty is to relate the numbers with end "00" with the others, for example, when I disable '100', the values '101' and '102' should be removed from this new array or when enable '101' the '100' should be enabled.
This is possible with these string arrays?
Here is an example from codepen