fixing examples

This commit is contained in:
Priec
2025-08-11 12:41:42 +02:00
parent 163a6262c8
commit 280f314100
3 changed files with 8 additions and 3 deletions

View File

@@ -354,7 +354,8 @@ impl<D: DataProvider> ValidationFormEditor<D> {
}
fn current_text(&self) -> &str {
self.editor.current_text()
let field_index = self.editor.current_field();
self.editor.data_provider().field_value(field_index)
}
fn data_provider(&self) -> &D {