@saltcorn/builder 0.9.3-rc.1 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -904,9 +904,15 @@ const ConfigField = ({
|
|
|
904
904
|
onChange={(e) => e.target && myOnChange(e.target.value)}
|
|
905
905
|
onBlur={(e) => e.target && myOnChange(e.target.value)}
|
|
906
906
|
>
|
|
907
|
-
{field.options.map((o, ix) =>
|
|
908
|
-
|
|
909
|
-
|
|
907
|
+
{field.options.map((o, ix) =>
|
|
908
|
+
o.name && o.label ? (
|
|
909
|
+
<option key={ix} value={o.name}>
|
|
910
|
+
{o.label}
|
|
911
|
+
</option>
|
|
912
|
+
) : (
|
|
913
|
+
<option key={ix}>{o}</option>
|
|
914
|
+
)
|
|
915
|
+
)}
|
|
910
916
|
</select>
|
|
911
917
|
),
|
|
912
918
|
btn_select: () => (
|