Merge branch 'master' into zamboni/convert-styleguide-app-to-0.19

This commit is contained in:
Brooke 2018-12-12 16:37:02 -08:00 committed by GitHub
commit 9dbc1e1a33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
"name": "NoRedInk/noredink-ui",
"summary": "UI Widgets we use at NRI",
"license": "BSD-3-Clause",
"version": "6.1.5",
"version": "6.1.6",
"exposed-modules": [
"Nri.Ui.Alert.V2",
"Nri.Ui.AssetPath",

View File

@ -115,6 +115,7 @@ view_ theme model =
Css.minHeight heightForStyle
]
[ Events.onInput model.onInput
, Attributes.value model.value
, Attributes.id (generateId model.label)
, Attributes.autofocus model.autofocus
, Attributes.placeholder model.placeholder
@ -127,7 +128,7 @@ view_ theme model =
else
"false"
]
[ Html.text model.value ]
[]
]
, if not model.showLabel then
Html.label