Title for Auto Complete Text Input

We have problem with Title for Auto Complete Text Input CAF component, see in attachment
Auto Complete Text Input.doc (179 KB)

The binding expression for the Element title only gets set on the server side, so you’ll have to use some javascript in order to dynamically update the Element on the client. I’ve attached a sample that demonstrates the following Custom Script you can attach to your Auto Complete Text Input:


var model = CAF.model("#{activePageBean.clientIds['ati']}");
model.element.title = model.getValue();

Regards,
–mark
AutoCompleteSample.zip (9.09 KB)

Thanks for the tip, it worked