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

Incorrect behaviour of occurrence title generation in a single-select option-set #1787

Closed
alansemenov opened this issue Feb 9, 2021 · 0 comments
Assignees
Labels
Bug Something isn't working
Milestone

Comments

@alansemenov
Copy link
Member

alansemenov commented Feb 9, 2021

Now:

image

Main title is initially the selected option's label (here: "Option 1") which after changing field names changes to a first non-empty property value.
Sub-title is always option-set's label (here: "Single selection"), which is of not much use since we already have it as the big title above the option-set.

Should be:

  1. After an option is selected, we should show only the selected option's label (here "Option 1") as the main title (unless of course there are some default values in the form fields, in which case see 2. below). So, same as now but without the sub-title.

image

  1. When user starts changing the field values, keep the selected option's label as the main title and the first non-blank property value should become the sub-title.

image

@alansemenov alansemenov added the Bug Something isn't working label Feb 9, 2021
@alansemenov alansemenov added this to the 3.2.1 milestone Feb 9, 2021
@alansemenov alansemenov assigned ashklianko and pmi and unassigned ashklianko Feb 9, 2021
alansemenov added a commit that referenced this issue Feb 15, 2021
alansemenov added a commit that referenced this issue Feb 15, 2021
alansemenov pushed a commit that referenced this issue Feb 15, 2021
alansemenov added a commit that referenced this issue Feb 15, 2021
(cherry picked from commit aafc309)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants