dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Tui input widget

Open ealmloff opened this issue 3 years ago • 1 comments

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

ealmloff avatar May 05 '22 17:05 ealmloff

This is so exciting!!!!!!!!!!

jkelleyrtp avatar May 06 '22 03:05 jkelleyrtp

This is awesome, can't wait for this to be merged.

mattoni avatar Nov 23 '22 17:11 mattoni

Do you need any help resolving conflicts here?

jkelleyrtp avatar Dec 08 '22 01:12 jkelleyrtp

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

ealmloff avatar Dec 08 '22 03:12 ealmloff

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

ealmloff avatar Dec 08 '22 05:12 ealmloff