fix bug in entity_data dict
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user