Skip to content

[sc-50634] Erumu: TextInput Password and Email Input Types - #30

Merged
robmagary merged 1 commit into
mainfrom
rob/sc-50634/erumu-input-type-for-email-and-password
Jun 19, 2026
Merged

[sc-50634] Erumu: TextInput Password and Email Input Types#30
robmagary merged 1 commit into
mainfrom
rob/sc-50634/erumu-input-type-for-email-and-password

Conversation

@robmagary

Copy link
Copy Markdown
Contributor

Revises TextInput to use a setter for email and password input types

@robmagary
robmagary requested review from qxjit and removed request for qxjit June 18, 2026 15:37
@robmagary
robmagary merged commit 336f0eb into main Jun 19, 2026
1 check passed
@robmagary
robmagary deleted the rob/sc-50634/erumu-input-type-for-email-and-password branch June 19, 2026 11:42
setEmailInputType :: Model -> Model
setEmailInputType (Model m) =
Model m { inputType = InputType "email" }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have exposed setType :: InputType -> Model -> Model and then password :: InputType and email :: InputType rather than separate setters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants