CustomFields
- renamed form block type "input" to "text" for consistency with React - updated CustomFields router to comply with main router - unit tests for CF router
This commit is contained in:
@ -53,10 +53,6 @@ define(
|
||||
|
||||
var custom_fields = window.mailpoet_custom_fields || [];
|
||||
custom_fields.map(custom_field => {
|
||||
if(custom_field.type === 'input') {
|
||||
custom_field.type = 'text';
|
||||
}
|
||||
|
||||
let field = {
|
||||
name: 'cf_' + custom_field.id,
|
||||
label: custom_field.name,
|
||||
|
Reference in New Issue
Block a user