bugfix: block rendering if no data-src
Related to applications/hubl#952
The widgetMixin
makes a component render if it has no data-src
attribute (for a solid-form-search
for example). In the case of a solid-form
with a bind-resource
, it was also rendering, causing the dropdown to render too, and loading huge lists of users.
Here is an example:
<solid-form
fields="user"
range-user="https://api.community.startinblox.com/sources/users/"
widget-user="solid-form-dropdown-autocompletion"
no-render
></solid-form>
This MR fixes the issue by checking the noRender
attribute first.
I also added the noRender
capability to the solid-form-search as it does not uses the StoreMixin