Object type for props support #706
Closed
demo88
started this conversation in
Ideas / Feature Requests
Replies: 2 comments
-
Glad to hear that you like the project! It is already possible to pass dictionaries and lists to But supporting such objects without quotes would be nice. Would you mind sharing your solution and maybe some demo code? Or even better, would you like to provide a pull request? 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This feature has been implemented in PR #4969 which is released in version 2.23. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
PROPS_PATTERN in element.py may not support an object type, such as dict, list. I confirmed dict was not supported when I tried to use the locale props of QDate .
I updated PROPS_PATTERN to add "{}" and "[]" pattern, and modified the check logic in the "_parse_props" method.
Wish a better solution for this problem and release soon ^o^
BTW, this is an amazing project, THX !!!
Beta Was this translation helpful? Give feedback.
All reactions