I’m trying to disable an option within a select input, based on the parent context. I know that repeat.for creates a new bindingContext on the fly and I should be able to access the overrideContext for properties in the parent.
Example: I have a meal planner, a select represents the days of the week, when assigning a meal for a day I want to disable that specific day from the available options.
Please see my example here: https://codepen.io/jmberon/project/editor/XNbqkq#
I’m trying both $parent and also straight access to the override context. Plus im getting some sintax errors in my disabled binding. Has anyone do something like this. Thanks.