Hello! I am looking for a way to immediately set a field active for input in the various input forms. Does anyone have an idea for me?
Form Field Focus
Collapse
X
-
Tags: None
-
I think this could be possible by Javascript or HTML, but I do not know, how to implement this. Look here: https://www.w3schools.com/tags/att_input_autofocus.asp
From GUI as far as I know, this is not possible. -
afterRender: function() {
Dep.prototype.afterRender.call(this);
// Custom code to be invoked right after rendering, when DOM is available.
this.$el.find('label[data-name="myField"]').focus();;
},
not tested.. not my skill.. but i am certainly in the good wayIf you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.Comment
Comment