Skip to content

Commit

Permalink
Add change log
Browse files Browse the repository at this point in the history
  • Loading branch information
amitbadala committed Oct 30, 2023
1 parent 3f8d094 commit a6d499d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,39 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)

## [0.35.7] - 2023-10-30

### Added

- Introduced the capability to utilize custom components in the Email-Password signup form fields by exposing inputComponent types.
- Implemented the functionality to assign default values to the form fields in the Email-Password Sign Up process.
- Enhanced the onChange function to operate independently without requiring an id field.
- Accompanied the new features with comprehensive tests to ensure their proper functionality and reliability.

Following is an example of how to use above features.

```tsx
EmailPassword.init({
signInAndUpFeature: {
signUpForm: {
formFields: [
{
id: "ratings",
label: "Ratings",
getDefaultValue: () => "best",
inputComponent: ({ value, name, onChange }) => (
<select value={value} name={name} onChange={(e) => onChange(e.target.value)} placeholder="Add Ratings">
<option value="" disabled hidden>
Select an option
</option>
<option value="good">Good</option>
<option value="better">Better</option>
<option value="best">Best</option>
</select>
)}
...
```
## [0.35.6] - 2023-10-16
### Test changes
Expand Down

0 comments on commit a6d499d

Please sign in to comment.