-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output iteration in textarea #231
Comments
I think this is largely a limitation stemming from HTML. All HTML |
I made a transphporm extension for calling native php functions on data in the tss which could be used to implode an array. I can share the simple extension I made if you wish. |
This extension seems like a feature that I'd like to use. Please provide an example of how to use it. |
Thanks for the tip. I’d love to know how to use that extension you made. |
Above is the classes needed. I have them in a namespace in my actual code and removed some extra stuff I add with the module. Just load the module through the Example basic use case
would return
The function when used in transphporm takes the php function name to call as the first argument and then the following arguments are what is passed to the function being called. |
Possibly I'm completely missing something, but I can't figure out how to iterate over an array and output that list within a text area followed by "\r\n" after each value.
eg. ["foo", "bar"] would output as
<textarea> foo \r\n bar \r\n </textarea>The text was updated successfully, but these errors were encountered: