help creating a custom huh.Field #641
Unanswered
dan-frohlich
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
It appears that |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Agreed, this is a really surprising change and quite disappointing if huh is taking the stance that no custom field types are allowed going forward. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a
bubbleteacomponent that lets the user arbitrarily order a list.I initially implemented the
bubbletea.Modelinterface.Now, I think I need to implement the
huh.Fieldinterface if I want to include it in huh forms.Are there any guidelines for creating new
huh.Fieldsother than the source code in https://github.com/charmbracelet/huh ?Can someone explain why the
runAccessible(w io.Writer, r io.Reader) errorinterface function is not exported?ref: https://github.com/charmbracelet/huh/blob/main/form.go#L154
Beta Was this translation helpful? Give feedback.
All reactions