mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 07:33:12 +09:00
Merge pull request #701 from Cooldude2606/feature/enum-config-input
This commit is contained in:
1 parent
45ae20051f
commit
583d484573
7 files changed
+21
-10
No files matched your search
@@ -7,6 +7,8 @@ import { InputComponentProps } from "../BaseWebPlugin";
|
||||
export default function InputModPack(props: InputComponentProps) {
|
||||
const [modPacks] = useModPacks();
|
||||
return <Select
|
||||
showSearch
|
||||
optionFilterProp="label"
|
||||
style={{ minWidth: 175 }}
|
||||
onChange={(value) => props.onChange(value ?? null)}
|
||||
value={props.value}
|
||||
|
||||
Reference in new issue
Block a user