Skip to content
New issue

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

Framework7-react SmartSelect props el #3902

Closed
xiaomingyu-git opened this issue Jun 8, 2021 · 4 comments
Closed

Framework7-react SmartSelect props el #3902

xiaomingyu-git opened this issue Jun 8, 2021 · 4 comments

Comments

@xiaomingyu-git
Copy link

In smart-select with ts ,el props is required , like this .
el: HTMLElement | CSSSelector;
/** Link to initialized View instance which is required for Smart Select to work. By default, if not specified, it will be opened in parent View. */
But sometimes ,it is ok to use default value.
I think
el?: HTMLElement | CSSSelector;
is better.

Could anyone tell me ,what is "parent View " in last file ?
SearchPage.md

@xiaomingyu-git
Copy link
Author

xiaomingyu-git commented Jun 8, 2021

image

it runs twice when i use html selecter.

@xiaomingyu-git
Copy link
Author

image

it does not work without el

@nolimits4web
Copy link
Member

Use ts-ignore for now. I will make it optional

@xiaomingyu-git
Copy link
Author

Use ts-ignore for now. I will make it optional

thx a lot for you hardwork .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants