Skip to content

Commit 574a362

Browse files
committed
add field
1 parent bec1d6d commit 574a362

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/ui/thermostat/ClimatePreset.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ function PresetForm(props: PresetFormProps): JSX.Element {
169169
hasError={errors.name != null}
170170
helperText={errors.name?.message}
171171
inputProps={register('name', {
172+
required: false,
172173
setValueAs: (value) => value.trim(),
173174
})}
174175
/>

0 commit comments

Comments
 (0)