We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6a36743 + b637603 commit 8a90e24Copy full SHA for 8a90e24
packages/fluent-ui/src/TextWidget/TextWidget.tsx
@@ -84,7 +84,7 @@ const TextWidget = ({
84
// TODO: once fluent-ui supports the name prop, we can add it back in here.
85
// name={name}
86
type={inputType as string}
87
- value={value ? value : ""}
+ value={value || value === 0 ? value : ""}
88
onChange={_onChange as any}
89
onBlur={_onBlur}
90
onFocus={_onFocus}
0 commit comments