We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
label_map
The label_map argument for Form and FormDialog doesn't work: You are trying to subscribe to the label instead of the actual key.
import pathlib as p import edifice as ed from edifice.components.forms import Form form_data = ed.StateManager( { "Value 1": p.Path(""), "Value 2": "Some text", "Value 3": 4.2, } ) labels = { # Uncommenting the second or third label causes a KeyError. "Value 1": "First value", # "Value 2": "Second value", # "Value 3": "Third value", } ed.App(ed.Window()(Form(form_data, label_map=labels))).start() print(form_data.as_dict())
The text was updated successfully, but these errors were encountered:
Thanks for noticing this bug and the fix!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The
label_map
argument for Form and FormDialog doesn't work: You are trying to subscribe to the label instead of the actual key.The text was updated successfully, but these errors were encountered: