Return change flag in paragraph::Plain::update
This commit is contained in:
parent
9b710a9aa8
commit
f031b99196
5 changed files with 32 additions and 18 deletions
|
|
@ -381,14 +381,14 @@ where
|
|||
{
|
||||
let label = option.to_string();
|
||||
|
||||
paragraph.update(Text {
|
||||
let _ = paragraph.update(Text {
|
||||
content: &label,
|
||||
..option_text
|
||||
});
|
||||
}
|
||||
|
||||
if let Some(placeholder) = &self.placeholder {
|
||||
state.placeholder.update(Text {
|
||||
let _ = state.placeholder.update(Text {
|
||||
content: placeholder,
|
||||
..option_text
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue