@knovator/pagecreator-admin 0.9.1 → 0.9.2
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/index.cjs +2 -2
- package/index.js +2 -2
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -7178,14 +7178,14 @@ const WidgetForm = ({
|
|
|
7178
7178
|
label: `${t('widget.widgetTitle')}`,
|
|
7179
7179
|
accessor: 'widgetTitles',
|
|
7180
7180
|
required: true,
|
|
7181
|
-
type: customInputs && customInputs['
|
|
7181
|
+
type: customInputs && customInputs['widgetTitles'] ? undefined : 'text',
|
|
7182
7182
|
validations: {
|
|
7183
7183
|
required: t('widget.widgetTitleRequired')
|
|
7184
7184
|
},
|
|
7185
7185
|
info: t('widget.widgetTitleInfo'),
|
|
7186
7186
|
placeholder: t('widget.widgetTitlePlaceholder'),
|
|
7187
7187
|
onInput: handleCapitalize,
|
|
7188
|
-
Input: customInputs && customInputs['
|
|
7188
|
+
Input: customInputs && customInputs['widgetTitles'] ? customInputs['widgetTitles'] : undefined
|
|
7189
7189
|
} : {
|
|
7190
7190
|
label: `${t('widget.widgetTitle')}`,
|
|
7191
7191
|
accessor: 'widgetTitle',
|
package/index.js
CHANGED
|
@@ -7166,14 +7166,14 @@ const WidgetForm = ({
|
|
|
7166
7166
|
label: `${t('widget.widgetTitle')}`,
|
|
7167
7167
|
accessor: 'widgetTitles',
|
|
7168
7168
|
required: true,
|
|
7169
|
-
type: customInputs && customInputs['
|
|
7169
|
+
type: customInputs && customInputs['widgetTitles'] ? undefined : 'text',
|
|
7170
7170
|
validations: {
|
|
7171
7171
|
required: t('widget.widgetTitleRequired')
|
|
7172
7172
|
},
|
|
7173
7173
|
info: t('widget.widgetTitleInfo'),
|
|
7174
7174
|
placeholder: t('widget.widgetTitlePlaceholder'),
|
|
7175
7175
|
onInput: handleCapitalize,
|
|
7176
|
-
Input: customInputs && customInputs['
|
|
7176
|
+
Input: customInputs && customInputs['widgetTitles'] ? customInputs['widgetTitles'] : undefined
|
|
7177
7177
|
} : {
|
|
7178
7178
|
label: `${t('widget.widgetTitle')}`,
|
|
7179
7179
|
accessor: 'widgetTitle',
|