Skip to content

Commit

Permalink
Merge branch 'work/using-react-with-bootstrap4'
Browse files Browse the repository at this point in the history
  • Loading branch information
steinarb committed Oct 18, 2023
2 parents 21fb7bc + 980f99e commit 7f40924
Show file tree
Hide file tree
Showing 4 changed files with 4,396 additions and 2,877 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function JobtypesBox(props) {
const dispatch = useDispatch();

return (
<select multiselect="true" size="10" id={id} className={className} onChange={e => dispatch(SELECT_JOB_TYPE(parseInt(e.target.value)))} value={transactionTypeId}>
<select multiple="true" size="10" id={id} className={className} onChange={e => dispatch(SELECT_JOB_TYPE(parseInt(e.target.value)))} value={transactionTypeId}>
<option key="-1" value="-1" />
{jobtypes.map((val) => <option key={val.id} value={val.id}>{val.transactionTypeName}</option>)}
</select>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function PaymenttypesBox(props) {
const dispatch = useDispatch();

return (
<select multiselect="true" size="10" id={id} className={className} onChange={e => dispatch(SELECT_PAYMENT_TYPE_FOR_EDIT(parseInt(e.target.value)))} value={transactionTypeId}>
<select multiple="true" size="10" id={id} className={className} onChange={e => dispatch(SELECT_PAYMENT_TYPE_FOR_EDIT(parseInt(e.target.value)))} value={transactionTypeId}>
<option key="-1" value="-1" />
{paymenttypes.map(val => <option key={val.id} value={val.id}>{val.transactionTypeName}</option>)}
</select>
Expand Down
Loading

0 comments on commit 7f40924

Please sign in to comment.