Skip to main content
Jon-Michael Lastimosa
Senior Web Developer
View all authors

Why option-gating pickers use a new option id instead of migrating the old scalar

· 3 min read
Jon-Michael Lastimosa
Senior Web Developer

The question: I want the Design tab to show only the options that matter for the current choice — so layout_mode, card_style, pagination_type should become image-pickers that reveal their own sub-options. But those are existing selects with real saved data, and turning a select (a string) into a multi-picker (an array) is a value-shape change. How do I do that without breaking every already-saved Posts/Testimonials block?