-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
Framework7 version: 8.3.4
Platform and Target: Desktop Any Browser
Live Link or CodeSandbox: https://codesandbox.io/p/sandbox/jovial-wescoff-c2n56l?file=%2Fsrc%2FHome.tsx
Describe the bug
Using the "el" parameter in any form (CSS-Selector or HTMLElement) throws an error about reading properties of undefined.
To Reproduce
Just open the sandbox or try building a smart-select with smartSelectParams={{el: "#your-id"}}
Expected behavior
It should work
Actual Behavior
It doesn't
Additional context
No example in the documentation uses the "el" property (Not for smart-select and not for any of the others components that could in theory use the "el" property; e.g. Popup).
Could not find any discussion in the forum on this.
Not much to say about it. It just does not work, or i am on the completely wrong path about how i should use that parameter.
Usecase: All i want to do is to add an id to the smart-select-page, so that i can apply styles specifically to that part of my application. I need this behaviour to show legacy content without destroying the new designs.