Keep nested data field names visible in compact pickers
This commit is contained in:
@@ -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| {
|
||||
|
||||
Reference in New Issue
Block a user