We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34be586 commit e60f31eCopy full SHA for e60f31e
apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js
@@ -198,12 +198,15 @@ class CompilerContainer {
198
class="custom-select ml-2 ${css.runs}"
199
id="runs"
200
placeholder="200"
201
+ value="200"
202
type="number"
203
title="Estimated number of times each opcode of the deployed code will be executed across the life-time of the contract."
204
onchange=${() => this.onchangeRuns()}
205
>`
- if (this.compileTabLogic.optimize) this._view.runs.removeAttribute('disabled')
206
- else {
+ if (this.compileTabLogic.optimize) {
207
+ this._view.runs.removeAttribute('disabled')
208
+ this._view.runs.value = this.compileTabLogic.runs
209
+ } else {
210
this._view.runs.setAttribute('disabled', '')
211
}
212
0 commit comments