diff --git a/components/InputTableField/index.tsx b/components/InputTableField/index.tsx index 4702cd64..5295f8a2 100644 --- a/components/InputTableField/index.tsx +++ b/components/InputTableField/index.tsx @@ -8,6 +8,7 @@ interface Props { name: string label: string description?: string + placeholder?: string value?: number className?: string imageAlt?: string @@ -42,8 +43,9 @@ const InputTableField = (props: Props) => { > diff --git a/components/SliderTableField/index.tsx b/components/SliderTableField/index.tsx index d26dd3c5..ff2409d2 100644 --- a/components/SliderTableField/index.tsx +++ b/components/SliderTableField/index.tsx @@ -58,7 +58,7 @@ const SliderTableField = (props: Props) => { min={props.min} max={props.max} step={props.step} - value={[value]} + value={[value ? value : 0]} onValueChange={handleValueChange} onValueCommit={handleValueCommit} />