Hi Priya,
You can use <Input> control. Set its property editable="true" to allow editing and false to display normal text.
<Input type="Text" editable="true"></Input>
Hi Priya,
Either you can Disable or set Editable to false. As given below. If you want to Text field then use two fields in a table cell and play hide/visible with both by binding same property to them. You can do this in Change event of input field. As given below.
<Input type="Text" editable="true" change="myFunction"></Input> myFunction : function(oEvent){ oEvent.getSource().setEditable(false); oEvent.getSource().setEnabled(false); }
Hi Priya,
You should use Input control for text editing. It has a property to make it non editable as well. - property name: editable and possible values are true or false.
You can learn more about input control at below given link.
Add comment