Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanvorster committed Jul 2, 2023
1 parent ea4f64c commit ed7967e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tornado-frontend/src/widgets/forms/FieldWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const FieldWidget: React.FC<FieldWidgetProps> = (props) => {
ref={props.forwardRef}
placeholder={props.placeholder}
type={props.type}
value={props.value?.trim() || ''}
value={props.value || ''}
onChange={(event) => {
let value = event.target.value;
if (value.trim() === '') {
Expand Down

0 comments on commit ed7967e

Please sign in to comment.