// @vitest-environment happy-dom // // Dependent STATIC enum options in DynamicForm: // - a static `select` whose options are gated by a sibling field's value // shows only the applicable options; // - when the sibling value invalidates the current selection, it resets; // - when no option applies, the whole field (label included) is hidden. // // The gating (parent) field here is a plain text field rather than a second // Radix `select`. That is deliberate: under happy-dom a Radix Select rendered // inside a
mounts a hidden native