Skip to main content
Dan Reeves
New Member
September 9, 2026

Lock slots in child component

  • September 9, 2026
  • 0 replies
  • 5 views

When creating nested components, I want to lock the contents of a child components slots. For example, I make a generic “menu” component with slots. So then I make a specific “File Menu” using that generic menu component. That’s great. But when I turn that File Menu into a component, the contents are still editable in instances of the File Menu. I don’t want that. I don’t want consumers of the File Menu turning it into an Edit Menu. Standard Lock isn’t what I want, because I do want the user to be able to apply regular overrides, just not use the more drastic “Slot” features.

So my request is for a feature that allows a main component to disable child slots.