Changelog
This page contains a comprehensive history of all significant changes, improvements, and bug fixes to the React Native Forminput library.
2.0.0
Latest ReleaseJune 20, 2025BREAKING CHANGE
- Introduced new grouped props structure for better organization and TypeScript support
Improvements
- Added comprehensive JSDoc documentation to all prop types
- Maintained backward compatibility with flat props structure
- Improved TypeScript type definitions and intellisense support
tsx
// Before (v1.x):
<FormInput
labelText="Name"
value={name}
onTextChange={(text) => setName(text)}
leftIcon="user"
/>
// After (v2.x):
<FormInput
text={{
labelText: "Name",
value: name
}}
core={{
onTextChange: (text) => setName(text)
}}
icon={{
leftIcon: "user"
}}
/>
1.9.3
May 1, 2025Added
datePickerConfirmButtonStyle
anddatePickerConfirmButtonTextStyle
props to allow users to customize the confirm button's style and text style in the date picker.
1.9.2
May 1, 2025Added
datePlaceholderStyle
prop to allow users to pass additional styles for the date placeholder text.
Fixed
- Minor styling issues in the date picker component.
1.9.0
April 2, 2025Added
- Introduced several new styling props for the DatePicker, allowing greater customization of its appearance (e.g.,
selectedContainerStyle
,todayContainerStyle
,datePickerLeftButtonStyle
, etc.). - Added support for additional
datePickerProps
anddatePickerStyles
for advanced customization. - Added
leftIconSource
andrightIconSource
props: These props allow users to specify the source of their icons (e.g., FontAwesome, MaterialIcons, etc.). The default source is FontAwesome. - Added
leftIconSize
andrightIconSize
props: These props allow users to specify size of the icons. - Added
multiline
andnumberOfLines
props: These props allow users to enable multiline input and specify the number of lines for the input field.
Updated
datepicker
library to the latest version.
1.8.1
September 11, 2024Fixed
- Minor styling issue.
1.8.0
September 11, 2024Updated
- Updated code to be compatible with Latest React Native Version.
1.7.0
July 15, 2024Changed
- Updated visual style of the component.
Added
theme
prop: Introduced a newtheme
prop that allows users to set the theme of the component. The available options arelight
,dark
, andsystem
. Thesystem
option automatically matches the theme of the device.
1.6.0
June 17, 2024Changed
- Updated GIT Repository
- Updated various style props to
ViewStyle
andTextStyle
: This change allows users to get style suggestions more easily. This applies to all components where style props were previously used.
1.5.0
June 13, 2024Added
inputContainerBackgroundColor
prop: This new prop allows you to customize the background color of the input container. You can pass any valid color string as the value.- Disabled functionality for the datepicker: The datepicker can now be disabled, preventing user interaction. This can be controlled via the
disabled
prop. Whendisabled
is set totrue
, the datepicker will be non-interactive.