decentraland / decentraland/godot-explorer
Implement multi_line flag for PBUiInput
Open
experimental
mobile
- Dominant language
- Rust
- Stars
- 18
- Forks
- 19
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 43
Description
## Summary
Implement support for the new `multi_line` flag in `PBUiInput` component, introduced in protocol PR https://github.com/decentraland/protocol/pull/394.
## Details
The protocol now supports an optional `bool multi_line` field (field 14) on `PBUiInput`. When set to true:
- The input should behave as a multi-line textarea
- Plain Enter key inserts a newline
- Shift+Enter (or NumpadEnter) submits the input
When false or absent, maintain current single-line behavior.
## References
- Protocol PR: https://github.com/decentraland/protocol/pull/394
---
Requested by Mateo via Slack
Contributor guide
Assessment
This issue has not been assessed yet.