Keep nested data field names visible in compact pickers

This commit is contained in:
2026-09-06 04:40:08 +03:00
parent 0edadeebdb
commit 74989b6f25
2 changed files with 112 additions and 45 deletions
@@ -363,6 +363,10 @@ fn message_value<'a>(
{
out = out.push(text("Current address needs review. Choose an explicit path to resolve a legacy, ambiguous or incompatible value.").size(11).color(style::MUTED));
let retained = crate::data_values::FieldPathChoice {
picker_label: format!(
"{} · current address needs review",
project.named(key.field)
),
label: format!(
"Current address · {} / {}",
key.path
@@ -377,6 +381,9 @@ fn message_value<'a>(
selected = Some(retained.clone());
choices.push(retained);
}
if let Some(choice) = &selected {
out = out.push(text(choice.label.clone()).size(11).color(style::MUTED));
}
let owned = path.to_owned();
out = out.push(
pick_list(choices, selected, move |choice| {