Open izeau opened 5 months ago
I like it! Fully support adding this, few things I can offer on the implementation:
when
field and I don't see a clear way to add support for this. It may require upstream changes in the huh
library. - Which is to say, this will probably be more difficult that it initially seems.when
field, properties from preview inputs are available at top level ({{ .player_name}}
vs {{ .Scaffold.player_name }}
) I think this makes sense because none of the other top level properties are available.Happy to work together to get this done, but my summer is pretty packed so may be gaps between when I can reply!
Hello! It looks like dynamic forms are on the roadmap for huh
, but are not available yet. In the meantime they recommend using separate forms, but that kind of breaks the workflow I guess? I think we should wait until this is released :)
Enjoy your summer!
Description:
It'd be awesome if we could use answers from previous questions in our question messages and default values.
Current Limitations:
Right now, all our prompts and defaults are static and can't adapt based on previous answers.
Proposed Changes:
Dynamic Messages: Let us use answers from earlier questions in new question prompts.
Dynamic Default Values: Use previous answers to set default values with interpolations.
Benefits:
What do you think?