Skip to content

Conversation

@shahadrn
Copy link

@shahadrn shahadrn commented Nov 25, 2022

Description

Please read the Contribution Guidelines before opening a pull request. Include a summary of the change and which issue is fixed.

Closes # <-- link the issue number here

Browser checklist

This PR has been tested in the following browsers:

  • Chrome
  • Firefox
  • Safari

Testing checklist

  • End-to-end tests have been created if necessary

@ibo-najjar
Copy link

shabab sha5iet

changeHandler(editingCategoryId, event.target.value)
changeHandler(
editingCategoryId,
event.target.value.charAt(0).toUpperCase() + event.target.value.slice(1)
Copy link

@jreflores jreflores Aug 27, 2023

Choose a reason for hiding this comment

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

You can make this simple by using lodash's capitalize(). Also encourage to write unit or e2e test for this.

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