Input type = text

Input type = text

nskwortsownskwortsow Posts: 120Questions: 0Answers: 0
edited November 2012 in Editor
Added type="text" to text inputs, otherwise bootstrap styling doesn't work.

dataTables.editor.js
Line: 3884

#

fieldTypes.readonly = $.extend( true, {}, baseFieldType, {
"create": function ( conf ) {
conf._input = $('')[0];
return conf._input;
}
} );


fieldTypes.text = $.extend( true, {}, baseFieldType, {
"create": function ( conf ) {
conf._input = $('')[0];
return conf._input;
}
} );

Replies

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin
    Doh! Thanks for flagging that up. It will be in the next release.

    Allan
  • harrywatersharrywaters Posts: 1Questions: 0Answers: 0
    Hi Allan

    Will you also include a way to define different input types - i.e , etc?

    Thanks,
    Harry
  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin
    Hi Harry,

    Excellent question. What I think will be done in the next Editor release is to allow you to define the input type that is used for the text control - thus allowing these input types to be easily defined.

    Regards,
    Allan
This discussion has been closed.