Add Support to Repeater to hide Repeater item after Add-Button Press #1190
amueller82
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Would each repeater item be hidden entirely, or sort of "minimized"? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Idea:
Enhance the Repeater so that the current Repeater item can optionally be hidden after the Add-Button has been pressed.
This would enable situations where a Repeater is used to input multiple items to a list - so that the Repeater-Item appears to be reused by the User to submit/edit data. This would also clean-up the UI - in cases where the user only whats to have one visual form to be filled out.
Example: Adding Attendees to an Event
Currently we are using Javascript to manipulate the DOM and change the Class of the Repeater Item to hide the repeater item with the respective class. (e.g. d-none in bootstrap)
https://formkit.link/1817c549c6fe2f8bfc1364a890d823e5
Beta Was this translation helpful? Give feedback.
All reactions