@growy/strapi-plugin-encrypted-field 2.0.3 → 2.0.5

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.
@@ -12,6 +12,7 @@ const Input = (props) => {
12
12
  labelAction,
13
13
  name,
14
14
  onChange,
15
+ placeholder,
15
16
  required,
16
17
  value = '',
17
18
  } = props;
@@ -45,7 +46,7 @@ const Input = (props) => {
45
46
  </Field.Label>
46
47
  <Field.Input
47
48
  type="text"
48
- placeholder={attribute?.options?.placeholder}
49
+ placeholder={placeholder}
49
50
  value={value}
50
51
  onChange={handleChange}
51
52
  disabled={disabled}
@@ -73,18 +73,6 @@ export default {
73
73
  defaultMessage: 'Número mínimo de caracteres requeridos',
74
74
  },
75
75
  },
76
- {
77
- name: 'placeholder',
78
- type: 'text',
79
- intlLabel: {
80
- id: 'encrypted-field.options.placeholder.label',
81
- defaultMessage: 'Placeholder',
82
- },
83
- description: {
84
- id: 'encrypted-field.options.placeholder.description',
85
- defaultMessage: 'Texto de ayuda que se muestra en el campo',
86
- },
87
- },
88
76
  ],
89
77
  },
90
78
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growy/strapi-plugin-encrypted-field",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "Campo personalizado de texto cifrado para Strapi",
5
5
  "strapi": {
6
6
  "name": "encrypted-field",