dioxus
dioxus copied to clipboard
Tui input widget
Add widgets to the tui renderer, and a general purpose cursor struct for any renderers. Todo:
- [x] Textbox
-
- [x] Basic Keyboard Editing
Insert Mode-
- [x] Mouse Support
-
- [x] size
-
- [x] maxlength
-
- [x] Use terminal cursor
- [x] Checkbox
- [x] Password
-
- [x] Hide characters
- [x] Button
-
- [x] onclick
- [x] Number
-
- [x] Limit to only numbers
-
- [x] Up/Down with arrow keys
-
- [x] Up/Down buttons
- [x] Range
-
- [x] Left/Right with keyboard
-
- [x] Mouse Support
-
- [x] Min/Max
-
- [x] Step
- [ ] Pass through basic attributes for all elements (pending node builder for optionally adding attributes)
Depends on: #400 #390
Demo:
https://user-images.githubusercontent.com/66571940/167262687-a8423500-00ae-4ac6-883a-899b59b646f8.mp4
This is so exciting!!!!!!!!!!
This is awesome, can't wait for this to be merged.
Do you need any help resolving conflicts here?
Do you need any help resolving conflicts here?
I've copied over the changes to a up to date branch. I just need to update some things that changed with templates. Hopefully I can finish up tomorrow
Conflicts fixed, but this branch has a bunch of files marked as changed that should not be. #646 has the same changes recreated from master