Usando a opção Desejo definir manualmente o template HTML ao criar o controle , só é gerado a tag <input type="text" .../>
então estou usando a tag <textarea ...></textarea>
, mas depois de executado o código , o editor de html buga , apagando todo o texto apos o textarea e renderizando tudo apos o </textarea>
, tipo se tiver um botão apos o fechamento do textarea ele renderiza o botão em vez de escrever o código. Exemplo de código que dá erro:
<html>
<head>
<!--SC_PAGE_CHARSET-->
<!--SC_JS_LIB-->
<link rel="stylesheet" type="text/css" href="control_1.css" />
<script type="text/javascript" src="control_1.js"></script>
<title><!--SC_PAGE_TITLE--></title>
</head>
<body>
<form {SC_FORM_ATTR}>
<!--SC_FORM_HIDDEN-->
<!--SC_FIELD_LABEL_my_field-->
<br />
<input {SC_FIELD_INFO_my_field} class="{SC_FIELD_CLASS}" type="text" />
<br />
<input type="button" {SC_FORM_SUBMIT_INFO} />
<INPUT {SC_FIELD_INFO_txt} type="text" />
<textarea class="form-control" id="text" name="text" placeholder="Type in your message" rows="5"></textarea>
<INPUT {SC_FIELD_INFO_descricao} type="text" />
<INPUT class="btn btn-primary" type="button" value="Submit" {SC_FORM_SUBMIT_CALL} />
</form>
</body>
</html>
Depois de executado fica assim no editor:
<html>
<head>
<!--SC_PAGE_CHARSET-->
<!--SC_JS_LIB-->
<link rel="stylesheet" type="text/css" href="control_1.css" />
<script type="text/javascript" src="control_1.js"></script>
<title><!--SC_PAGE_TITLE--></title>
</head>
<body>
<form {SC_FORM_ATTR}>
<!--SC_FORM_HIDDEN-->
<!--SC_FIELD_LABEL_my_field-->
<br />
<input {SC_FIELD_INFO_my_field} class="{SC_FIELD_CLASS}" type="text" />
<br />
<input type="button" {SC_FORM_SUBMIT_INFO} />
<INPUT {SC_FIELD_INFO_txt} type="text" />
<textarea class="form-control" id="text" name="text" placeholder="Type in your message" rows="5">