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?
Announcement
Collapse
No announcement yet.
Form Field Focus
Collapse
X
-
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.
- Likes 1
-
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 way
- Likes 2
Comment
Comment