Skip to content

Commit

Permalink
Add isResetValueOnUnitChange prop back
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Mar 18, 2022
1 parent 1fdad2c commit fd18928
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/spacer/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function DimensionInput( { label, onChange, isResizing, value = '' } ) {
<BaseControl label={ label } id={ inputId }>
<UnitControl
id={ inputId }
isResetValueOnUnitChange
min={ 0 }
max={ MAX_SPACER_SIZE }
onChange={ handleOnChange }
Expand Down

0 comments on commit fd18928

Please sign in to comment.