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

alaska-field-datetime

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alaska-field-datetime - npm Package Compare versions

Comparing version 0.11.10 to 0.11.12

2

package.json
{
"name": "alaska-field-datetime",
"version": "0.11.10",
"version": "0.11.12",
"description": "Alaska datetime field",

@@ -5,0 +5,0 @@ "keywords": [

@@ -15,2 +15,3 @@ // @flow

props: {
className: string,
value: any,

@@ -118,3 +119,3 @@ field: Object,

const t = this.context.t;
const { field, onClose } = this.props;
let { className, field, onClose } = this.props;
const { mode, value1, value2, error } = this.state;

@@ -134,3 +135,3 @@ const buttonClassName = 'btn btn-default';

}
let className = 'row field-filter datetime-field-filter' + (error ? ' error' : '');
className += ' datetime-field-filter' + (error ? ' error' : '');
return (

@@ -137,0 +138,0 @@ <div className={className}>

@@ -18,2 +18,3 @@ // @flow

props: {
className: string,
model: Object,

@@ -49,6 +50,3 @@ field: Object,

render() {
let props = this.props;
let value = props.value;
let field = props.field;
let disabled = props.disabled;
let { className, value, field, disabled, errorText, onChange } = this.props;
let valueString: string = '';

@@ -58,5 +56,4 @@ if (field.format && value) {

}
let errorText = props.errorText;
let help = field.help;
let className = 'form-group datetime-field';
className += ' date-field';
if (errorText) {

@@ -77,3 +74,3 @@ className += ' has-error';

timeFormat={field.timeFormat}
onChange={(value)=>{props.onChange(value.format())}}
onChange={(value)=>{onChange(value.format())}}
/>;

@@ -80,0 +77,0 @@ }

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