Merge pull request #225 from alexkorban/issue218

Add test for issue 218
This commit is contained in:
Matthew Griffith 2020-05-28 23:33:10 -04:00 committed by GitHub
commit 4da35173af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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"
}
]