diff --git a/praxiscore-api/src/main/java/org/praxislive/core/ControlInfo.java b/praxiscore-api/src/main/java/org/praxislive/core/ControlInfo.java index 7bf05d3..fe20045 100644 --- a/praxiscore-api/src/main/java/org/praxislive/core/ControlInfo.java +++ b/praxiscore-api/src/main/java/org/praxislive/core/ControlInfo.java @@ -342,7 +342,7 @@ private static ControlInfo propertyFromData(PMap data) { var inputs = PArray.from(data.asMap().getOrDefault(KEY_INPUTS, PArray.EMPTY)) .map(a -> a.asListOf(ArgumentInfo.class)) .orElseThrow(IllegalArgumentException::new); - var defaults = PArray.from(data.asMap().getOrDefault(KEY_INPUTS, PArray.EMPTY)) + var defaults = PArray.from(data.asMap().getOrDefault(KEY_DEFAULTS, PArray.EMPTY)) .map(a -> a.asList()) .orElseThrow(IllegalArgumentException::new);