17 |
18 | {!props.single || props.selected.length == 0 ?
e.currentTarget.style.backgroundColor = "#95b587aa"}
23 | onMouseDown={(e) => e.currentTarget.style.backgroundColor = "#5c8e58aa"}
24 | onMouseUp={(e) => e.currentTarget.style.backgroundColor = "#95b587aa"}
25 | onMouseLeave={(e) => e.currentTarget.style.backgroundColor = "#5c8e5855"}
26 | >
27 |
{ refresh({ form: "selected" }) }}>
28 |
29 | {props.addtext}
30 |
31 |
: null}
32 | {props.selected?.map(s => {
33 | return
{
36 | props.onitemclick?.(s)
37 | }}>
38 |
})
{
42 | e.preventDefault();
43 | e.stopPropagation();
44 | props.onremoveclick?.(s)
45 | }} />
46 |
{
47 | e.preventDefault();
48 | e.stopPropagation();
49 | props.onitemclick?.(s)
50 | }}>
51 |
56 | {TextEndAbbreviation(s.name || lang.loading, 30)}
57 |
58 |
59 | })}
60 |
61 |
62 |
63 |
64 |
65 |
66 |