Add input s type description in DefaultInputError

This commit is contained in:
cyril lopez 2018-02-05 12:34:44 +01:00
parent fa033ffbd3
commit 7a54b11051
3 changed files with 3 additions and 3 deletions

View File

@ -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.",

View File

@ -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é.",

View File

@ -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,