File tree Expand file tree Collapse file tree 2 files changed +14
-24
lines changed
src/Shared/Components/DatePicker Expand file tree Collapse file tree 2 files changed +14
-24
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,6 @@ const DateTimePicker = ({
110
110
onChange = { handleTimeChange }
111
111
data-testid = { dataTestIdForTime }
112
112
menuSize = { ComponentSizeType . xs }
113
- menuPosition = "fixed"
114
113
size = { ComponentSizeType . large }
115
114
shouldMenuAlignRight
116
115
/>
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- import { ReactComponent as ErrorIcon } from '@Icons/ic-warning.svg'
18
17
import { ReactComponent as ClockIcon } from '@Icons/ic-clock.svg'
19
18
import { ComponentSizeType } from '@Shared/constants'
20
19
import { DEFAULT_TIME_OPTIONS } from './utils'
@@ -29,26 +28,18 @@ export const TimePickerSelect = ({
29
28
error,
30
29
selectedTimeOption,
31
30
} : TimeSelectProps ) => (
32
- < >
33
- < SelectPicker
34
- inputId = { DATE_PICKER_IDS . TIME }
35
- placeholder = "12:00 AM"
36
- options = { DEFAULT_TIME_OPTIONS }
37
- isSearchable = { false }
38
- isDisabled = { disabled }
39
- { ...timePickerProps }
40
- value = { selectedTimeOption }
41
- icon = { < ClockIcon className = "icon-dim-20 fcn-6" /> }
42
- onChange = { onChange }
43
- data-testid = { DATE_PICKER_IDS . TIME }
44
- size = { ComponentSizeType . large }
45
- menuPosition = "fixed"
46
- />
47
- { error && (
48
- < div className = "form__error" >
49
- < ErrorIcon className = "form__icon form__icon--error" />
50
- { error }
51
- </ div >
52
- ) }
53
- </ >
31
+ < SelectPicker
32
+ inputId = { DATE_PICKER_IDS . TIME }
33
+ placeholder = "12:00 AM"
34
+ options = { DEFAULT_TIME_OPTIONS }
35
+ isSearchable = { false }
36
+ isDisabled = { disabled }
37
+ { ...timePickerProps }
38
+ value = { selectedTimeOption }
39
+ icon = { < ClockIcon className = "icon-dim-20 fcn-6" /> }
40
+ onChange = { onChange }
41
+ data-testid = { DATE_PICKER_IDS . TIME }
42
+ size = { ComponentSizeType . large }
43
+ error = { error }
44
+ />
54
45
)
You can’t perform that action at this time.
0 commit comments