diff --git a/src/themes/bootstrap3/DateTimeWidget.js b/src/themes/bootstrap3/DateTimeWidget.js index 1833f88..4cfce2e 100644 --- a/src/themes/bootstrap3/DateTimeWidget.js +++ b/src/themes/bootstrap3/DateTimeWidget.js @@ -1,8 +1,94 @@ import React from "react"; -import BaseInputWidget from "./BaseInputWidget"; +import PropTypes from "prop-types"; +import classNames from "classnames"; +import { Field } from "redux-form"; +const renderInput = field => { + const className = classNames([ + "form-group", + { "has-error": field.meta.touched && field.meta.error } + ]); + return ( +