feat: pass on options
This commit is contained in:
parent
103e34df0e
commit
d8a906ef7c
|
@ -30,6 +30,7 @@ const Expression = (props) => {
|
||||||
} = props;
|
} = props;
|
||||||
const {ops, assign} = value;
|
const {ops, assign} = value;
|
||||||
const optionsList = opsOptions(context, ops, type);
|
const optionsList = opsOptions(context, ops, type);
|
||||||
|
const opsDescription = descriptionFromOps(context, ops);
|
||||||
return (
|
return (
|
||||||
<div className="expression">
|
<div className="expression">
|
||||||
{ops.map((op, i) => (
|
{ops.map((op, i) => (
|
||||||
|
@ -161,7 +162,8 @@ const Expression = (props) => {
|
||||||
assign: makeCompilable(valueValue),
|
assign: makeCompilable(valueValue),
|
||||||
}, event)
|
}, event)
|
||||||
)}
|
)}
|
||||||
type={descriptionFromOps(context, ops).type}
|
options={opsDescription.options}
|
||||||
|
type={opsDescription.type}
|
||||||
value={assign}
|
value={assign}
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user