fix: clarify product and copy fields
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-11 15:52:30 -04:00
parent cc45a4f119
commit 312b1e5bbc
3 changed files with 9 additions and 0 deletions
@@ -22,14 +22,17 @@ defineEmits(['update:productName', 'update:categoryId', 'submit']);
:value="productName"
class="fixture-input"
required
aria-describedby="product-name-help"
@input="$emit('update:productName', $event.target.value)"
/>
<p id="product-name-help">Use the recognizable product name collectors will search for.</p>
<label class="fixture-label" for="product-category">Category</label>
<select
id="product-category"
:value="categoryId"
class="fixture-input"
required
aria-describedby="product-category-help"
@change="$emit('update:categoryId', $event.target.value)"
>
<option value="" disabled>Select a category</option>
@@ -37,6 +40,7 @@ defineEmits(['update:productName', 'update:categoryId', 'submit']);
{{ category.name }}
</option>
</select>
<p id="product-category-help">Choose the catalog category that defines valid conditions for this product.</p>
<button class="button button--primary" type="submit" :disabled="isSaving">
Create product
</button>