aquameta-widget
Version:
Widget rendering framework built on top of Aquameta
14 lines (13 loc) • 385 B
HTML
<!--
Create-product widget
events: formChanged
deps: semantic-input
-->
<template>
<form meta-action="insert" :relation="beehive.products" @change.debounce="formChanged">
<input type="text" :field="name" />
<input type="text" :field="beehive.breakdown:name" />
<semantic-input :field="beehive.products:quantity" />
<input type="submit" />
</form>
</template>