Form Component #3334
-
Description Why This is Needed Having all component input returned in one payload instead individual payloads would prevent developers from having to use complex state-management/caching to store data between each payload. Alternatives Considered Additional Details
the Submit and Cancel buttons would be built-in to the Form component. Submit sends the payload and Cancel clears the input. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
If this is added, I believe Text components to go along with the Form component would also be an interesting addition, as we would be able to have separate, labelled (as grayed-out text that appears when they are empty, for example) text fields without the need of multiple commands or prompts, and it would fit nicely within the proposed structure - the values in each text field would also be sent when 'Submit' is pressed. This would certainly be interesting to simplify bot setup and configuration commands, for example. |
Beta Was this translation helpful? Give feedback.
-
I also think a good idea would be radio (multi-choice) buttons would go nice with this. Which would be great for things like surveys, quizzes, etc. |
Beta Was this translation helpful? Give feedback.
-
This is (mostly) implemented to the tune of modals. Its not inline and doesn't support selects yet, but its there! |
Beta Was this translation helpful? Give feedback.
This is (mostly) implemented to the tune of modals. Its not inline and doesn't support selects yet, but its there!