Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Feature, Capitalize the first letter of Category name #597

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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