Skip to content
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

multiline text input / textarea #386

Open
jkozniewski opened this issue Mar 30, 2022 · 6 comments
Open

multiline text input / textarea #386

jkozniewski opened this issue Mar 30, 2022 · 6 comments

Comments

@jkozniewski
Copy link

Is there an option to have an multiline text field as an input ?
There seems to be only multiline text monitors...

@patkwee
Copy link

patkwee commented Apr 14, 2022

I am also just looking for this functionality. Would be great if TweakPane would support this.

@jkozniewski
Copy link
Author

jkozniewski commented Apr 15, 2022

@patkwee , @cocopon - actually we've created a plugin providing the text area (multiline) input - https://github.com/panGenerator/tweakpane-textarea-plugin

@cocopon not sure if it's exactly the way you envision the plugins to be implemented so if you spot something to improve just let us know :)

@jkozniewski
Copy link
Author

@patkwee -
sorry just realised the repo is still private, but we'll cleanup the readme and make it public today probably :)

@jkozniewski
Copy link
Author

ok, it's now public and published on npm - https://www.npmjs.com/package/@pangenerator/tweakpane-textarea-plugin

@cocopon
Copy link
Owner

cocopon commented Apr 18, 2022

Great work @jkozniewski 👏
This feature is generic enough to be added to the core package, but this plugin will be helpful until it's implemented.

@literallylara
Copy link

I noticed that the textarea's change event fires on keyup (which is great for my usecase), while the core input's change event fires when it loses focus or the enter key is pressed. I think it would be great if we could either specify change or input events in the API including the core API, or is this already possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants