Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6acb265

Browse files
committed
Remove default value
1 parent 30cf732 commit 6acb265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/Demo.elm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Browser exposing (Document)
44
import Html exposing (Html, div, h3, h4, pre, text)
55
import Html.Attributes exposing (class, classList, style)
66
import Html.Events exposing (onClick)
7-
import Json.Encode exposing (Value)
7+
import Json.Encode asEncodeexposing (Value)
88
import Json.Form
99
import Json.Form.Config exposing (TextFieldStyle(..))
1010
import Json.Schema.Definitions exposing (Schema)
@@ -74,7 +74,7 @@ update message model =
7474
, textFieldStyle = Outlined
7575
}
7676
in
77-
Json.Form.init config schema (Just<|StringValue"dd")
77+
Json.Form.init config schema Nothing
7878
|> Tuple.mapSecond (Cmd.map (JsonFormMsg index))
7979
)
8080
|> List.unzip

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /