diff --git a/tests-rendering/cases/open/LabelledInputAlignRight.elm b/tests-rendering/cases/open/LabelledInputAlignRight.elm new file mode 100644 index 0000000..1798287 --- /dev/null +++ b/tests-rendering/cases/open/LabelledInputAlignRight.elm @@ -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" + } + ]