File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ const AdvancedRangeControl = props => {
184184 // Other necessary props for steps.
185185 propsToPass . withInputField = false
186186 controlProps . units = false
187+ propsToPass . placeholder = ''
187188 } else {
188189 propsToPass . marks = undefined
189190 }
Original file line number Diff line number Diff line change @@ -144,11 +144,6 @@ const StackableRangeControl = memo( props => {
144144 placeholderValue = initialPosition
145145 }
146146
147- // Remove placeholder if it's a custom CSS
148- if ( typeof placeholderValue === 'string' && placeholderValue . startsWith ( 'var' ) ) {
149- placeholderValue = ''
150- }
151-
152147 return < div
153148 className = { classNames }
154149 style = { { '--ugb-advanced-range-control--width' : percentageValue } }
Original file line number Diff line number Diff line change @@ -355,6 +355,7 @@ const FourRangeControl = memo( props => {
355355
356356 // Other necessary props for steps.
357357 newProps . withInputField = false
358+ propsToPass . placeholder = ''
358359 } else {
359360 newProps . marks = undefined
360361 }
You can’t perform that action at this time.
0 commit comments