Browse Source

feat(admin-ui): Use CurrencyInputComponent in product detail page

Michael Bromley 7 years ago
parent
commit
278226817f

+ 1 - 1
admin-ui/src/app/catalog/components/product-detail/product-detail.component.html

@@ -102,7 +102,7 @@
                         <div *ngFor="let option of variant.options">{{ option.name }}</div>
                     </td>
                     <td>
-                        <input type="number" min="0" formControlName="price">
+                        <vdr-currency-input formControlName="price"></vdr-currency-input>
                     </td>
                 </tr>
                 </tbody>