@devcustrom/strapi-plugin-api-select 1.1.1 → 1.2.0
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState, useEffect } from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
2
|
+
import * as PropTypes from "prop-types";
|
|
3
3
|
import {
|
|
4
4
|
Field,
|
|
5
5
|
SingleSelect,
|
|
@@ -222,7 +222,7 @@ const ApiSelectInput = ({
|
|
|
222
222
|
};
|
|
223
223
|
|
|
224
224
|
const renderOptionContent = (option) => {
|
|
225
|
-
const iconUrl = false//enableIcons ? option.item[iconUrlKey] : null;
|
|
225
|
+
const iconUrl = false//enableIcons ? option.item[iconUrlKey] : null;
|
|
226
226
|
return (
|
|
227
227
|
<Flex gap={2} alignItems="center">
|
|
228
228
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devcustrom/strapi-plugin-api-select",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "A powerful Strapi v5 plugin that provides API-driven select fields with support for GET/POST requests, custom headers, flexible response mapping, and multilingual content.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "strapi-server.js",
|