Comments (2)
Hey Anirud,
For handling larger text inputs like YAML code, we can use xt.text_area
a better fit. Here's a quick example to show how it can be set up:
xt.text_area(
placeholder="Paste YAML code here",
on_change=State.on_yaml_input_change,
width="30%",
height="300px",
)
By the way, I'm currently working on putting together more detailed documentation for these components, including text_area
. It's a work in progress, but you can check out what I've got so far here. I'm planning to get the form-related docs polished up first.
from nextpy.
Thank you, it's working :)
from nextpy.
Related Issues (20)
- mood switcher app error HOT 6
- Attribute to upload the file HOT 6
- Refactor GridX Portfolio Code for Beginner Friendliness
- Benchmark Nextpy vs Streamlit performance
- Enhance Compiler Performance with Potential Rewrite in Rust or Mojo
- Enhance Tailwind CSS Plugin Support
- Introduce @xt.method Decorator for AI Code Generation Compatibility
- Better `TypeError` message when facing JSON serialization issues
- Improve state management.
- Whether it's possible to add "6em" in xt.spacer("6em") HOT 2
- When I click on image, it's not opening the link HOT 1
- Set text and image in same order HOT 3
- Unknown instruction CMD["nextpy","init","&&","nextpy","run"] HOT 6
- Improved logging in multiagent_manager
- Nextpy vs Reflex HOT 2
- Integrate Abstractions for Jupiter
- finite-state machine for better control of agents
- Simpify agent abstractions
- :3000 ERR_CONNECTION_REFUSED.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextpy.