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, 2025

BREAKING 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, 2025

Added

  • datePickerConfirmButtonStyle and datePickerConfirmButtonTextStyle props to allow users to customize the confirm button's style and text style in the date picker.

1.9.2

May 1, 2025

Added

  • 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, 2025

Added

  • 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 and datePickerStyles for advanced customization.
  • Added leftIconSource and rightIconSource props: These props allow users to specify the source of their icons (e.g., FontAwesome, MaterialIcons, etc.). The default source is FontAwesome.
  • Added leftIconSize and rightIconSize props: These props allow users to specify size of the icons.
  • Added multiline and numberOfLines 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, 2024

Fixed

  • Minor styling issue.

1.8.0

September 11, 2024

Updated

  • Updated code to be compatible with Latest React Native Version.

1.7.0

July 15, 2024

Changed

  • Updated visual style of the component.

Added

  • theme prop: Introduced a new theme prop that allows users to set the theme of the component. The available options are light, dark, and system. The system option automatically matches the theme of the device.

1.6.0

June 17, 2024

Changed

  • Updated GIT Repository
  • Updated various style props to ViewStyle and TextStyle: 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, 2024

Added

  • 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. When disabled is set to true, the datepicker will be non-interactive.