Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/add customizations #429

Merged
merged 2 commits into from
Jan 17, 2025
Merged

Feat/add customizations #429

merged 2 commits into from
Jan 17, 2025

Conversation

pavlushkin
Copy link
Member

1. Disable language switcher

Motivation:

For projects that use only one language the language switch element in a side bar is redundant.
image

Desired appearance:
image

Solution:

Add enableLocaleSwitcher boolean param to SidebarBottom

Usage example:

<SidebarBottom
    collapsed={collapsed}
    toggleCollapsed={() => setCollapsed((v) => !v)}
    enableLocaleSwitcher={false}
/>

2. Pass autoSave props

<QuestionnaireResponseForm
    // ...                                
    autoSave={true}
/>

@pavlushkin pavlushkin merged commit 6c1d4fd into master Jan 17, 2025
5 checks passed
@pavlushkin pavlushkin deleted the feat/add-customizations branch January 17, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant