-
Notifications
You must be signed in to change notification settings - Fork 302
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
Allow modification of Questionnaire submit action button text via configuration #2239
Comments
The app bar is not controlled by the QuestionnaireFragment. You can probably achieve this by customizing app bar in your application for this particular fragment where you are hosting the QuestionnaireFragment as its child fragment. Example is this older version of ScreenerFragment Or am I missing something ? |
@MJ1998 For this issue, we're trying to make the submit action button text on the QuestionnaireFragment configurable. Reference the second screen whose action button reads 'APPLY FILTERS'. There are cases where I want to be able to override the default 'SUBMIT' text and have any other text on the action button. The app bar issue will be addressed here. I hope that clarifies. |
@DebbieArita has an open PR on this |
Is your feature request related to a problem? Please describe.
As part of the enhancement, we'd like to set the text for the submit action button via configuration.
Describe the solution you'd like
Expose a function/property etc. to allow modification of the submit action button text.
Describe alternatives you've considered
For the set save button text, we can
findTheViewById
and apply the text as desired but this will be subject to code changes.Additional context
In order to filter the content of our registers (list of resources) we opted to re-use the UI rendered via Questionnaires instead of implementing custom UI to capture the content for the filter. As part of the requirement a configuration to change the text for the submit action to "APPLY FILTERS" is needed.
See the screenshot below, the Questionnaire is the second screen in the pic.
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered: