Skip to content

Commit

Permalink
Fix #292
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrekker committed Feb 19, 2024
1 parent 2dd97d4 commit 433aa6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Builtins.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### A Pluto.jl notebook ###
# v0.19.32
# v0.19.38

using Markdown
using InteractiveUtils
Expand Down Expand Up @@ -667,7 +667,7 @@ begin
Base.get(select::Select) = ismissing(select.default) ? first(select.options).first : select.default
Bonds.initial_value(select::Select) = ismissing(select.default) ? first(select.options).first : select.default

Bonds.possible_values(select::Select) = (string(i) for i in 1:length(select.options))
Bonds.possible_values(select::Select) = ("puiselect-$(i)" for i in 1:length(select.options))

function Bonds.transform_value(select::Select, val_from_js)
if startswith(val_from_js, "puiselect-")
Expand Down

0 comments on commit 433aa6d

Please sign in to comment.