fix(dashboard): Resolve issue with product attributes input (#13863)
Co-authored-by: Siddartha Nepal <siddarthanepal5@gmail.com> Co-authored-by: William Bouchard <46496014+willbouch@users.noreply.github.com>
This commit is contained in:
2 files changed
+9
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/dashboard": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fixed a bug in product attributes form such that it now accepts decimal values
|
||||||
+4
@@ -101,6 +101,7 @@ export const ProductAttributesForm = ({
|
|||||||
<Input
|
<Input
|
||||||
type="number"
|
type="number"
|
||||||
min={0}
|
min={0}
|
||||||
|
step="any"
|
||||||
value={value || ""}
|
value={value || ""}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
const value = e.target.value
|
const value = e.target.value
|
||||||
@@ -130,6 +131,7 @@ export const ProductAttributesForm = ({
|
|||||||
<Input
|
<Input
|
||||||
type="number"
|
type="number"
|
||||||
min={0}
|
min={0}
|
||||||
|
step="any"
|
||||||
value={value || ""}
|
value={value || ""}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
const value = e.target.value
|
const value = e.target.value
|
||||||
@@ -159,6 +161,7 @@ export const ProductAttributesForm = ({
|
|||||||
<Input
|
<Input
|
||||||
type="number"
|
type="number"
|
||||||
min={0}
|
min={0}
|
||||||
|
step="any"
|
||||||
value={value || ""}
|
value={value || ""}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
const value = e.target.value
|
const value = e.target.value
|
||||||
@@ -188,6 +191,7 @@ export const ProductAttributesForm = ({
|
|||||||
<Input
|
<Input
|
||||||
type="number"
|
type="number"
|
||||||
min={0}
|
min={0}
|
||||||
|
step="any"
|
||||||
value={value || ""}
|
value={value || ""}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
const value = e.target.value
|
const value = e.target.value
|
||||||
|
|||||||
Reference in new issue
Block a user