mirror of
https://github.com/mdgriffith/elm-ui.git
synced 2024-11-22 11:52:09 +03:00
Add test for issue 218
This commit is contained in:
parent
00d7803b2c
commit
b1a276d9ea
28
tests-rendering/cases/open/LabelledInputAlignRight.elm
Normal file
28
tests-rendering/cases/open/LabelledInputAlignRight.elm
Normal file
@ -0,0 +1,28 @@
|
||||
module LabelledInputAlignRight exposing (view)
|
||||
|
||||
import Testable.Element exposing (..)
|
||||
import Testable.Element.Input as Input
|
||||
|
||||
|
||||
view =
|
||||
layout [] <|
|
||||
column [ width fill ]
|
||||
[ Input.text
|
||||
[ width (px 200)
|
||||
, alignRight
|
||||
]
|
||||
{ onChange = always False
|
||||
, text = ""
|
||||
, placeholder = Nothing
|
||||
, label = Input.labelLeft [] (text "label")
|
||||
}
|
||||
, Input.text
|
||||
[ width (px 200)
|
||||
, alignRight
|
||||
]
|
||||
{ onChange = always False
|
||||
, text = ""
|
||||
, placeholder = Nothing
|
||||
, label = Input.labelHidden "label"
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user