[英]valueHelpOnly for smart filter bar in sapui5
I have included smartFilterBar:ControlConfiguration control in Smart Filter Bar.我在智能过滤器栏中包含了 smartFilterBar:ControlConfiguration 控件。 One of the controls has F4 value help.
其中一个控件具有 F4 值帮助。 In this control, I can enter some text manually also.
在这个控件中,我也可以手动输入一些文本。 How can I disable entering the text and display value help dialog only on click of that filed.
如何仅在单击该文件时才禁用输入文本和显示值帮助对话框。 In short I want a feature similar to "valueHelpOnly" in Input field which disable manual entry of data.
简而言之,我想要一个类似于输入字段中的“valueHelpOnly”的功能,它禁用手动输入数据。
Programatically you can do it in a following way:以编程方式,您可以通过以下方式执行此操作:
myControl = this.getView().byId("smartFilterBar").getControlByKey("myControl")
myControl.setValueHelpOnly(true);
After that, clicking on selection field will automatically open the value help dialog.之后,单击选择字段将自动打开值帮助对话框。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.