mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
configpanels: Fill prefilled_answers with answers from previous sections/panels, needed by the visible mecanism
This commit is contained in:
parent
3dd7aa9b59
commit
759b828c8a
1 changed files with 4 additions and 1 deletions
|
@ -562,9 +562,12 @@ class ConfigPanel:
|
|||
display_header(f"\n# {name}")
|
||||
|
||||
# Check and ask unanswered questions
|
||||
prefilled_answers = self.args.copy()
|
||||
prefilled_answers.update(self.new_values)
|
||||
|
||||
questions = ask_questions_and_parse_answers(
|
||||
section["options"],
|
||||
prefilled_answers=self.args,
|
||||
prefilled_answers=prefilled_answers,
|
||||
current_values=self.values,
|
||||
hooks=self.hooks,
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue