i need help with the above question.
To clear a normal Textfield
works very well. example code:
_resetButton: function () {
var InputField = this.byId("idInputField");
InputField.setValueState("None");
InputField.setValueStateText(null);
}
but for TextArea
or DatePicker
field it doesn't work.
Have anybody an idea how i can set Value null
i have tried it with setValue()
or setText()
but without success.
Best regard
Here is an JSBIN example
setValue("")
They all inherit from sap.m.InputBase
and there is a setValue()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.