Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

New line characters lost when getting the value of a Textarea #81

Closed
adamdriscoll opened this issue Apr 16, 2018 · 0 comments
Closed

New line characters lost when getting the value of a Textarea #81

adamdriscoll opened this issue Apr 16, 2018 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@adamdriscoll
Copy link
Member

Currently trying to create some kind of "listbox" so that user can input, for instance, multiple computer names
Then I would like to process each of these names with foreach ($user in $textarea)...

I thought I could use the TextArea input, because if you press the return key you can insert as much users as you want
But when I try to do a foreach in my PS file, it apperas that line breaks are gone
appears*
So insted of having, let's say "user1
user2
user(x)
" I have a single string like so : "user1user2user(x)"

@adamdriscoll adamdriscoll added the bug Something isn't working label Apr 16, 2018
@adamdriscoll adamdriscoll added this to the 2.4 milestone May 17, 2019
adamdriscoll added a commit that referenced this issue May 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant