Skip to content
Discussion options

You must be logged in to vote

This is hard to do in general, because "Inputs.select()" is part of the ObservableHQ standard library, and ObservableHQ doesn't use bootstrap.

The DOM elements are quite different. ObservableHQ emits an entire form, as you can see with your browser's devtools:

<form class="oi-3a86ea"><label for="oi-3a86ea-1">Select value:</label><select class="oi-3a86ea-input" name="input" id="oi-3a86ea-1">
      <option value="0" selected="">mpg</option><option value="1">disp</option><option value="2">hp</option><option value="3">drat</option>
    </select></form>

Those elements are created at runtime, and ObservableHQ uses random IDs and classes, so we can't easily target those elements.

What truly nee…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by royfrancis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
ojs-engine Issues with the ojs engine themes Related to HTML theming or any other style related issue (like highlight-style)
2 participants