File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed
external/TransactionsOverview/components/TransactionsOverview Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import { useCustomColumnsData } from '../../../../../hooks/useCustomColumnsData'
2929import hasCustomField from '../../../../utils/customData/hasCustomField' ;
3030import mergeRecords from '../../../../utils/customData/mergeRecords' ;
3131import './TransactionsOverview.scss' ;
32+ import InputBase from '../../../../internal/FormFields/InputBase' ;
3233
3334export const TransactionsOverview = ( {
3435 onFiltersChanged,
@@ -289,6 +290,20 @@ export const TransactionsOverview = ({
289290 placeholder = { i18n . get ( 'transactions.overview.filters.types.currency.label' ) }
290291 />
291292 </ FilterBar >
293+ < InputBase
294+ dropdown = { {
295+ items : [
296+ { id : 'EUR' , name : 'EUR' } ,
297+ { id : 'USD' , name : 'USD' } ,
298+ ] ,
299+ value : 'EUR' ,
300+ 'aria-label' : 'Currency selector' ,
301+ } }
302+ onDropdownInput = { ( value : any ) => console . log ( 'Dropdown changed:' , value ) }
303+ value = "Entered Text"
304+ type = { 'number' }
305+ placeholder = "Enter amount"
306+ />
292307 < div className = { SUMMARY_CLASS } >
293308 < div className = { SUMMARY_ITEM_CLASS } >
294309 < TransactionTotals
Original file line number Diff line number Diff line change 114114
115115 & __container > input {
116116 background : transparent ;
117- border : 0 !important ;
118- box-shadow : none !important ;
117+ border : 0 ;
118+ box-shadow : none ;
119119 flex : 1 ;
120120 height : auto ;
121121 outline : none ;
122122 padding : 5px 8px ;
123123
124124 & :hover {
125- border : 0 !important ;
125+ border : 0 ;
126126 }
127127
128128 & :focus ,
129129 & :active {
130130 background : transparent ;
131- border : 0 !important ;
131+ border : 0 ;
132132 outline : none !important ;
133133 }
134134 }
You can’t perform that action at this time.
0 commit comments