wp-user-frontend
wp-user-frontend copied to clipboard
enhance: repeat field enhancement
Currently, the repeating field is hardcoded as a text field. With this enhancement, we could make almost any field into a repeating field.
Related PR #531
resolves #93, resolves #1246, resolves #1240, resolves #1307
Summary by CodeRabbit
-
New Features
- Enhanced support for repeat fields in the form builder, allowing for more flexible field management.
- New methods added for cloning and removing repeat fields, improving user interaction with forms.
- Dynamic rendering of repeat fields based on attributes, enhancing display capabilities.
-
Bug Fixes
- Corrected method naming for better clarity and consistency.
-
Style
- Updated CSS to ensure consistent styling for control buttons across different field types.
- Improved layout and responsiveness for repeatable fields using flexbox properties.
-
Chores
- Minor formatting adjustments made for code clarity and consistency.