aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 20:13:07 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-07 20:13:07 +0530
commit50de6a2309c1b137da0dad7680937be1a1a67fdc (patch)
treedfe638e5d1c15265ec984090c9684e8559f722f0 /src
parentb962a21b15e3d80d4d2132df76ca31bc41eb2fc9 (diff)
accepting decimal values in unit price
Diffstat (limited to 'src')
-rw-r--r--src/components/new_item.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/new_item.vue b/src/components/new_item.vue
index 7615ec0..8b1f3f6 100644
--- a/src/components/new_item.vue
+++ b/src/components/new_item.vue
@@ -100,6 +100,7 @@ onMounted(() => {
<label for="item-unitprice-input" class="form-label">Unit Price</label>
<input
type="number"
+ step="0.01"
class="form-control"
id="item-unitprice-input"
placeholder="Unit Price"