pub fn input_text(id: &str, placeholder: &str) -> StringExpand description
Create a text input widget.
Returns the current text value (set by user or default). When the user changes the text, the cell automatically re-executes.
§Arguments
id- Unique identifier for this widget within the cellplaceholder- Placeholder text shown when empty
§Example
ⓘ
let name = venus::input_text("name", "Enter your name");
println!("Hello, {}!", name);