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

add default values for additional input for options #1047

Open
CalamityC opened this issue Jul 11, 2024 · 0 comments
Open

add default values for additional input for options #1047

CalamityC opened this issue Jul 11, 2024 · 0 comments
Assignees
Milestone

Comments

@CalamityC
Copy link
Collaborator

Rationale / Begründung

"Additional input" allows the user to add information to a specific option. For questions it is already possible to define default values, this feature should also be possible for options using a text or textarea field.

This would make it possible to have a general option, e.g. "Git Versioning" with additional input, leaving it open for users to add e.g. Github or Gitlab, but also would allow the institution to add the local service as default answer.

Only display if on additional input text or textarea is activated.

Bildschirmfoto 2024-07-11 um 14 59 27

Affected

Who is affected by the change (Users, Managers, Admins)?
all

Minimal functionality

What functionality would you like to have?
save a default text value for additional input of an option

Nice-to-have functionality

What sort of related functionality would you like to see in addition?

References / Verweise

@CalamityC CalamityC added this to the RDMO 2.3.0 milestone Jul 11, 2024
CalamityC added a commit that referenced this issue Jul 11, 2024
* prepare option model to contain default_text
* add default_text to imports, mixins, option and export serializer
* add migrations
* add translations
* insert Tabs structure for display default text values in EditOption component
@CalamityC CalamityC self-assigned this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant