diff --git a/src/quickbot/bot/handlers/editors/main_callbacks.py b/src/quickbot/bot/handlers/editors/main_callbacks.py index c513e03..286fe87 100644 --- a/src/quickbot/bot/handlers/editors/main_callbacks.py +++ b/src/quickbot/bot/handlers/editors/main_callbacks.py @@ -198,7 +198,7 @@ async def process_field_edit_callback(message: Message | CallbackQuery, **kwargs entity_descriptor = get_entity_descriptor(app, callback_data) entity_data = state_data.get("entity_data", {}) - entity_data[field_descriptor.field_name] = value + entity_data[field_descriptor.name] = value if callback_data.context == CommandContext.COMMAND_FORM: field_sequence = list(field_descriptor.command.param_form.keys())