Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Adding an HTML attribute to an sap.m.Input control

Hi Gurus,

This is a simple question, at least I think it is.

I can't find how to add an HTML attribute in order to render it in the <input> HTML tag. Basically, I just want to set the tabindex to 1.

Actually, I extended the sap.m.Input control. This means I have access to the "renderer" method, but I render the Input by using :

renderer: function(oRm, oControl) {

     sap.m.InputRenderer.render(oRm, oControl);

}

Does anybody know how to achieve this "simple" task ?

Thank you

replied

instead of this.getAttributes()

use

this.getCustomData()

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question