gpui-component/crates/ui/src/input
Moulberry a4e93132f1
input, select, date_picker: Refactor cleanable to have argument and default to false. (#1506)
https://github.com/longbridge/gpui-component/pull/1502#issuecomment-3485354324

## Break Change

- The `DatePicker` and `Select` has changed `cleanable` default from
`true` to `false`.
- Updated `Input`, `DatePicker` and `Select` the `cleanable` to have a
argument.

```diff
- pub fn cleanable(mut self)
+ pub fn cleanable(mut self, cleanable: bool)
```

---------

Co-authored-by: Jason Lee <huacnlee@gmail.com>
2025-11-05 09:33:31 +08:00
..
lsp editor: Improve hover popover delay. (#1389) 2025-10-17 02:14:20 +00:00
popovers chore: Move searchable to ListState and SelectState. (#1507) 2025-11-04 21:26:11 +08:00
blink_cursor.rs chore: Keep spawn task on it owner. (#1456) 2025-10-29 19:11:49 +08:00
change.rs input: Add Cursor and Selection type and export line number, cursor. (#1012) 2025-06-27 20:48:26 +08:00
clear_button.rs chore: Refactor tab key to switch focus. (#991) 2025-09-29 16:48:24 +08:00
cursor.rs chore: Improve RopeExt API and add more docs. (#1289) 2025-09-25 18:17:46 +08:00
element.rs editor: Use measure_indent_width for indent guides width. (#1428) 2025-10-24 20:18:30 +08:00
indent.rs editor: Use measure_indent_width for indent guides width. (#1428) 2025-10-24 20:18:30 +08:00
input.rs input, select, date_picker: Refactor cleanable to have argument and default to false. (#1506) 2025-11-05 09:33:31 +08:00
mask_pattern.rs number_input: Allow signed numbers (#957) 2025-06-16 10:05:37 +08:00
mod.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
mode.rs editor: Add indent guides. (#1426) 2025-10-24 19:03:09 +08:00
movement.rs editor: Add to support move vertical for soft wrapped lines. (#1312) 2025-10-03 18:19:37 +08:00
number_input.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
otp_input.rs input: Refactor InputEvent::Change to not include the text. (#1246) 2025-09-15 20:50:30 +08:00
rope_ext.rs input: Fix Input panics when masked have non-ASCII characters. (#1382) 2025-10-15 07:15:50 +00:00
search.rs chore: Rename Dropdown to Select, TextInput to Input. (#1449) 2025-10-28 21:22:31 +08:00
state.rs input: Delete selected text with modifier keys (#1497) 2025-11-04 16:54:31 +08:00
text_wrapper.rs input: Fix Input to prepare text wrapper. (#1417) 2025-10-23 08:03:38 +00:00