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
Hi,
In this following condition, the name of the QueryAjaxModelLoader instantiated must match a specific syntax !
name
For example,
with these models :
class Item: name = fields.StringField() class ProvisioningPlan: on = fields.ReferencedField(Item) class Order: name = fields.StringField() provisioningPlan = fields.EmbeddedDocumentField(ProvisioningPlan)
My view inherits from ModelView
ModelView
With this one, it's works
class OrderView: form_subdocuments = { 'provisioningPlan': { 'form_ajax_refs': { 'on': QueryAjaxModelLoader(name='provisioningplan-on', model=Item, fields=['name',]) } } }
So, I have concatenate the subdocument name with his attribute.
It would be very helpful to add a mention in the documentation.
The text was updated successfully, but these errors were encountered:
Could you explained what functions have been added to the View?
Sorry, something went wrong.
No branches or pull requests
Hi,
In this following condition, the
name
of the QueryAjaxModelLoader instantiated must match a specific syntax !For example,
with these models :
My view inherits from
ModelView
With this one, it's works
So, I have concatenate the subdocument name with his attribute.
It would be very helpful to add a mention in the documentation.
The text was updated successfully, but these errors were encountered: