Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-bsonschema-form

Package Overview
Dependencies
Maintainers
3
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bsonschema-form - npm Package Compare versions

Comparing version 0.43.10 to 0.43.11

10

lib/components/fields/DateField.js

@@ -60,5 +60,8 @@ 'use strict';

var utcIsSpecified = uiSchema['ui:options'] && uiSchema['ui:options'].hasOwnProperty('utc');
var utc = !utcIsSpecified || uiSchema['ui:options'].utc;
var uiOptions = uiSchema['ui:options'] || {};
var utc = !uiOptions.hasOwnProperty('utc') || uiOptions.utc;
var dateFormat = uiOptions.dateFormat || true;
var placeholder = uiOptions.placeholder || 'mm/dd/yyyy';
if (readonly || disabled) {

@@ -70,6 +73,7 @@ var formDataString = stringifyDate({ date: formData, utc: utc });

return _react2.default.createElement(_reactDatetime2.default, {
inputProps: { placeholder: 'mm/dd/yyyy' },
inputProps: { placeholder: placeholder },
utc: utc,
input: true,
closeOnSelect: true,
dateFormat: dateFormat,
timeFormat: false,

@@ -76,0 +80,0 @@ value: formData,

{
"name": "react-bsonschema-form",
"version": "0.43.10",
"version": "0.43.11",
"description": "A simple React component capable of building HTML forms out of a JSON schema.",

@@ -5,0 +5,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc