Skip to content

Any better solution than forceSelect? #147

Answered by Siolto
cwang1221 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Cong,

wdi5 stores references of the controls internally to save runtime. The forceSelect: true forces wdi5 to retrieve the control again from the browser context. This is normally only necessary, when your control was destroyed and recreated in the meantime.
Is your Dialog maybe destroying itself after iClickOkButtonInDialog and recreating when opening again?

Best regards,
Simon

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cwang1221
Comment options

@Siolto
Comment options

@vobu
Comment options

Answer selected by vobu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants