Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Re-initialize the dialog with the saved value after population of dropdown in multifield

Avatar

Avatar
Validate 1
Level 2
shaileshb584084
Level 2

Likes

14 likes

Total Posts

18 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 1
Level 2
shaileshb584084
Level 2

Likes

14 likes

Total Posts

18 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Give Back
Boost 5
Boost 3
Boost 10
View profile
shaileshb584084
Level 2

08-09-2020

I am having the multifield in which the saved values of the dialog should came as selected post the dropdown values are populated dynamically.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
Employee
surabhikatiyar
Employee

Likes

68 likes

Total Posts

46 posts

Correct Reply

18 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
surabhikatiyar
Employee

Likes

68 likes

Total Posts

46 posts

Correct Reply

18 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
surabhikatiyar
Employee

08-09-2020

For this requirement you can add a stTimeout handler with the timeout as per your requirment and re-initialize the dialog request to populate the saved values once the dynamic population of the drop down is complete.

You can use the below sample code:


setTimeout(function() {
$.ajax(Granite.author.DialogFrame.currentDialog.editable.path + ".infinity.json").done(handler);
}, 1000);
function handler(data) {
if any processing needs to be done, can be added here
});
}

Answers (0)