One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<title>data</title> | |
</head> | |
<body> | |
<iframe |
import React from 'react'; | |
import { asField } from 'informed'; | |
import { Form, Input } from 'antd'; | |
const AntdInput = asField(({ fieldState, fieldApi, ...props }) => { | |
const { value } = fieldState; | |
const { setValue, setTouched } = fieldApi; | |
const { | |
onChange, | |
onBlur, |
```language | |
Object.flatten = function(obj){ | |
var result = {}; | |
function recurse(src, prop) { | |
var toString = Object.prototype.toString; | |
if (toString.call(src) == '[object Object]') { | |
var isEmpty = true; | |
for (var p in src) { | |
isEmpty = false; |