mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 06:04:29 +00:00
Add input s type description in DefaultInputError
This commit is contained in:
parent
fa033ffbd3
commit
7a54b11051
@ -55,7 +55,7 @@
|
||||
"app.components.PluginCard.price.free": "Free",
|
||||
"app.components.PluginCard.more-details": "More details",
|
||||
|
||||
"app.utils.placeholder.defaultMessage": " ",
|
||||
"app.utils.placeholder.defaultMessage": " ",
|
||||
|
||||
"components.AutoReloadBlocker.header": "Reload feature is required for this plugin.",
|
||||
"components.AutoReloadBlocker.description": "Open the following file and enable the feature.",
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
"app.components.PluginCard.price.free": "Gratuit",
|
||||
"app.components.PluginCard.more-details": "Plus de détails",
|
||||
|
||||
"app.utils.placeholder.defaultMessage": " ",
|
||||
"app.utils.placeholder.defaultMessage": " ",
|
||||
|
||||
"components.AutoReloadBlocker.header": "L'autoReload doit être activé pour ce plugin.",
|
||||
"components.AutoReloadBlocker.description": "Ouvrez le fichier suivant pour activer cette fonctionnalité.",
|
||||
|
||||
@ -12,7 +12,7 @@ import InputTextAreaWithErrors from 'components/InputTextAreaWithErrors';
|
||||
import InputTextWithErrors from 'components/InputTextWithErrors';
|
||||
import InputToggleWithErrors from 'components/InputToggleWithErrors';
|
||||
|
||||
const DefaultInputError = () => <div>Your input does not exist</div>
|
||||
const DefaultInputError = ({ type }) => <div>Your input type: <b>{type}</b> does not exist</div>
|
||||
|
||||
const inputs = {
|
||||
number: InputNumberWithErrors,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user