You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(FR-1727): customizing optional text in form (#4712)
resolves#4711 (FR-1727)
This PR enhances the form field labeling by explicitly marking optional fields with "(optional)" text instead of using the default Ant Design approach. The changes include:
1. Updated the `requiredMark` configuration in `BAIConfigProvider` to display "(optional)" text for non-required fields
2. Added a new translation key "Optional" across all language files
3. Improved the layout of the Resource Preset Setting form by:
- Using vertical layout for better readability
- Adding consistent styling for input fields
- Removing unnecessary Row/Col structure
These changes make it clearer to users which fields are optional vs. required in forms throughout the application.

**Checklist:** (if applicable)
- [ ] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after
0 commit comments