I have a problem to load html into input field value. As the pictures.
A) When i save it:
B) When i load it:
C) The code used for create input field:
var templateField;
templateField = '<input type="text" id="' + fieldName + '" maxlength="' + args.maxlength + '" value="' + args.value + '"/>';
$controller.append(templateField);
Note: I can't append templateField first and after that do an innerHtml because i don't know what type of value will be (date, boolean, etc). This controller is used to create fields dynamic. I have this problem just when the type of value is String and the user put html values at the field.