# Error: RefKeyOrValueRequired

No key or value was provided to the `data-ref` attribute. The `data-ref` attribute must have either a key _or_ a value, representing the name of a signal. The signal will be assigned the element as its value.

Example:

```html
<div data-ref-signalname></div>
```

See the docs on the [`data-ref`](/reference/attribute_plugins#data-ref) attribute.