Skip to content

Fix multi-valued input form fields#6674

Merged
labkey-adam merged 5 commits intodevelopfrom
fb_mv_aliases
May 18, 2025
Merged

Fix multi-valued input form fields#6674
labkey-adam merged 5 commits intodevelopfrom
fb_mv_aliases

Conversation

@labkey-adam
Copy link
Copy Markdown
Contributor

@labkey-adam labkey-adam commented May 16, 2025

Rationale

The cell line update form stopped rendering the multi-valued alias field correctly. A DisplayColumn refactor a couple months ago removed a method override in MultiValuedDisplayColumn; this puts it back.

https://www.labkey.org/home/Developer/issues/issues-details.view?issueId=52983

Related Pull Requests

@labkey-adam labkey-adam requested review from XingY and labkey-nicka May 16, 2025 00:46
@labkey-adam labkey-adam self-assigned this May 16, 2025
sb.append(delim);
sb.append(name);
delim = ",";
delim = ", ";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added space here because we do everywhere else.

return values(ctx, _column::getInputValue);
}

// Issue 52983: This override matches the DisplayColumn.renderInputCell() implementation.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revised this comment to refer to this issue.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And whoever splits the values trims them, right?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I presume this comment was actually in reference to the other comment I made):

I added space here because we do everywhere else.

Yes, AliasInsertHelper does this and more.

@labkey-adam labkey-adam merged commit d834660 into develop May 18, 2025
9 checks passed
@labkey-adam labkey-adam deleted the fb_mv_aliases branch May 18, 2025 23:27
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.

3 participants