Skip to content

Commit

Permalink
Merge 0e4481c into 1b5fa2f
Browse files Browse the repository at this point in the history
  • Loading branch information
Valtena committed Mar 1, 2021
2 parents 1b5fa2f + 0e4481c commit cab0087
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Material-Design-Lite-Demo/MDLTextFieldsScreen.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ MDLTextFieldsScreen >> renderNumberTextFieldOn: html [
html mdlTextFieldError: 'Input is not a number !' ]
]

{ #category : #demos }
MDLTextFieldsScreen >> renderPasswordTextFieldOn: html [
html
mdlTextFieldContainer: [ html mdlTextFieldLabel
for: html nextId;
with: 'Password...'.
html mdlPasswordFieldInput id: html lastId ]
]

{ #category : #rendering }
MDLTextFieldsScreen >> renderScreenContentOn: html [
self
Expand Down Expand Up @@ -131,5 +140,6 @@ MDLTextFieldsScreen >> specialTextFields [
^ OrderedDictionary new
add: 'Multiple line' -> #renderMultiLineTextFieldOn:;
add: 'Expanding' -> #renderExpandingTextFieldOn:;
add: 'Password' -> #renderPasswordTextFieldOn:;
yourself
]

0 comments on commit cab0087

Please sign in to comment.