Wappler Version : 4.2.0
Operating System : Windows 10
Server Model: PHP
Database Type: MySQL
Hosting Type: Custom
Expected behavior
When adding dynamic data to an existing expression, the selected data binding should remain at the original/cursor posiion
Actual behavior
The data is added to the end of the expression
How to reproduce
In this case, I’m creating a table row in a repeat, to insert into an email. Wappler makes it very easy to create such an expression, mixing dynamic and static data, and dealing with quoting and concatenation etc. - unless you want to edit an existing expression. Eg I want to add some dynamic data here:
If I select what I want from the bindings panel, the selected binding is inserted at the end of the expression, not at the cursor position. There is no easy way to edit this, either in code view:
… because most of the text is invisible and the area can’t be resized (scrolling up and down is the only option)…
or in this editor, which is even less usable, as only one line is displayed:
Solution: copy the expression into a text editor.
I think this is a bug, rather than a feature request.
Obviously, the editing facilities and lack of space are a problem, but that’s another issue - but improvement in this would obviate the need to use a text editor. I expect the available space could be better used, on most monitors/screen resolution - certainly in my case: