pull/15418/head
Rich Harris 1 year ago
parent b079256d8e
commit 2115c8cbde

@ -682,7 +682,7 @@ function build_element_special_value_attribute(element, node_id, attribute, cont
metadata.has_call
? // if is a select with value we will also invoke `init_select` which need a reference before the template effect so we memoize separately
is_select_with_value
? memoize_expression(context.state, value)
? memoize_expression(state, value)
: get_expression_id(state, value)
: value
);

Loading…
Cancel
Save