Skip to content

Commit

Permalink
select show options recording defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
hinanaya committed Jun 10, 2024
1 parent 0ee84b5 commit 921d6cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/media/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,12 @@ OB.Media.recordingDefaultsGet = function () {
break;
case "select":
metaElem = document.createElement('ob-field-select');

meta.settings.options.forEach((option) => {
const optionElem = document.createElement('ob-option');
optionElem.innerText = option;
metaElem.appendChild(optionElem);
});
break;
case "textarea":
metaElem = document.createElement('ob-field-textarea');
Expand Down

0 comments on commit 921d6cc

Please sign in to comment.