diff --git a/app/base.tsx b/app/base.tsx index 2fe1ddc..b64bbfb 100644 --- a/app/base.tsx +++ b/app/base.tsx @@ -399,7 +399,7 @@ function GuiSelect({ }; let selectValue = args.options.filter((opt: any) => - args.isMulti ? value.includes(opt.value) : opt.value === value + args.isMulti ? defaultValue.includes(opt.value) : opt.value === value ); // if selectedValue is not in options, then set it to the first option useEffect(() => { diff --git a/package-lock.json b/package-lock.json index e8250b3..eb874df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "gooey-remix", + "name": "gooey-ui", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/remix.config.js b/remix.config.js index a4e4fff..4ad9720 100644 --- a/remix.config.js +++ b/remix.config.js @@ -18,6 +18,7 @@ const proxyUrls = [ "/favicon.ico", "/sitemap.xml/", "/__/*", + "/2/*", ]; /** @type {import('@remix-run/dev').AppConfig} */