now text box label is hidden

This commit is contained in:
Yehowshua Immanuel 2025-01-03 11:09:13 -05:00
parent ccec612687
commit 45ca677c87
2 changed files with 5 additions and 3 deletions

View file

@ -2,6 +2,8 @@ SRC_FILES := $(shell find src -name "*.elm")
all: elm.min.js
.PHONY: elm.min.js
ifeq ($(DEBUG)$(RELEASE),) # Both are empty
$(error You must set exactly one of DEBUG=1 or RELEASE=1)
endif
@ -11,7 +13,7 @@ $(error Both DEBUG and RELEASE cannot be set at the same time)
endif
elm.min.js: $(SRC_FILES)
elm.min.js:
ifeq ($(DEBUG),1)
./build.sh --debug src/Main.elm
else ifeq ($(RELEASE),1)

View file

@ -64,7 +64,7 @@ greetWidget =
{ onChange = GreetWidgetText
, text = "text"
, placeholder = Nothing
, label = Element.Input.labelAbove [] (Element.text "Greet")
, label = Element.Input.labelHidden "Greet"
}
in
Element.row []
@ -74,6 +74,6 @@ view : Model -> Element Msg
view model =
Element.column []
[ Element.text "Landing"
-- , Element.text <| "Current time is : " ++ model.time
, Element.text <| "Current time is : " ++ model.time
, greetWidget
]