Skip to content

form-label class directly called in label component #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 605 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
605 commits
Select commit Hold shift + click to select a range
1c9eb3f
Do not call updateOrder on data prop change
Kiho Feb 26, 2021
41b0de3
0.7.6
Kiho Feb 26, 2021
7bdaa26
Add create-react-app example
Kiho Mar 4, 2021
81b11fb
Custom component (#124)
Kiho Mar 12, 2021
b6a9f0c
Fix crash when inputField ref was not found
Kiho Mar 16, 2021
33b62a2
0.8.1
Kiho Mar 16, 2021
ee163f3
Resolve merge conflict
Kiho Mar 16, 2021
39cbb39
0.8.2
Kiho Mar 16, 2021
7783446
Fix - Uncaught TypeError: Cannot read property 'CARD' of undefined #127
Kiho Mar 20, 2021
167ee43
0.8.3
Kiho Mar 20, 2021
c2549f6
Update cra example
Kiho Mar 20, 2021
ac068d7
Dragging custom element into multi column element: Element type is in…
Kiho Apr 15, 2021
79338f0
Dragging custom element into multi column element: Element type is in…
Kiho Apr 15, 2021
a8e739b
0.8.4
Kiho Apr 15, 2021
6b2f1fd
Merge branch 'multi-col-custom'
Kiho Apr 15, 2021
e57abf9
Made custom element editable at multi-row
Kiho Apr 16, 2021
03d99f0
Fix Image component d&d problem
Kiho Apr 16, 2021
bc5a80d
0.8.5
Kiho Apr 16, 2021
95072e3
Set Tags value to empty array on delete
Kiho Apr 23, 2021
1b7f3dd
0.8.6
Kiho Apr 23, 2021
0f201f0
The bare-element works the same as custom-element except it has not l…
zach2825 Jun 11, 2021
e2bde63
Add remaining places for the new BareElement
zach2825 Jun 11, 2021
cba312d
added ability to pass in a custom field edit form
zach2825 Jun 15, 2021
fd5f9e3
updates
zach2825 Jun 15, 2021
a02e82f
package rename
zach2825 Jun 15, 2021
81ff928
v0.8.9
zach2825 Jun 16, 2021
95ebb18
v0.8.10
zach2825 Jun 16, 2021
6197bf8
v0.8.11
zach2825 Jun 16, 2021
10ee4d4
v0.8.12
zach2825 Jun 16, 2021
f96d13e
v0.8.13
zach2825 Jun 17, 2021
dcf78b3
v0.8.14
zach2825 Jun 17, 2021
76a576c
v0.8.15
zach2825 Jun 17, 2021
ae1f540
v0.8.16
zach2825 Jun 17, 2021
5a797dc
v0.8.17
zach2825 Jun 17, 2021
ff2e7cc
v0.8.19
zach2825 Jun 17, 2021
d3233c4
v0.8.20
zach2825 Jun 17, 2021
28b9784
v0.8.21
zach2825 Jun 17, 2021
e1668cb
v0.8.22
zach2825 Jun 17, 2021
1f22393
v0.8.23
zach2825 Jun 17, 2021
61878b9
v0.8.24
zach2825 Jun 17, 2021
5cc8a00
v0.8.25
zach2825 Jun 17, 2021
1c6a14a
v0.8.26
zach2825 Jun 17, 2021
89a45f1
v0.8.27
zach2825 Jun 17, 2021
5579eae
Add ability to add custom submit button, remove the rating component …
zach2825 Jun 17, 2021
7277f90
v0.8.28
zach2825 Jun 17, 2021
1b99e70
Update node-sass, hide star-rating inputbox (#141)
Kiho Jun 25, 2021
3d8c1c8
resolved conflicts and added star rating
zach2825 Jun 25, 2021
56c4f8c
Added the star rating component code back in
zach2825 Jun 25, 2021
55fbf92
Make sure rating is imported
zach2825 Jun 25, 2021
511a31c
Merge branch 'zach2825-master'
Kiho Jun 26, 2021
4df93b3
Update package.json
Kiho Jun 26, 2021
30d61c0
Add bare option to custom element (#142)
Kiho Jun 26, 2021
4c65ef6
0.8.29
Kiho Jun 26, 2021
29af29d
Revert package name & version
Kiho Jun 26, 2021
1dea83f
0.8.7
Kiho Jun 26, 2021
6b5a078
Preload data onLoad
Kiho Aug 1, 2021
f5c0a4e
0.8.8
Kiho Aug 1, 2021
eb6af48
position fixed removed (#146)
Robokishan Aug 7, 2021
0f44124
feat: add typings (#143)
OysterD3 Aug 7, 2021
c4a18a6
0.9.0
Kiho Aug 7, 2021
f851ff0
Fix eslint - index.d.ts
Kiho Aug 7, 2021
d015d6c
Include index.d.ts in dist
Kiho Aug 14, 2021
596a34d
0.9.1
Kiho Aug 14, 2021
a74bb76
Improve types
Kiho Aug 14, 2021
cb5c48b
0.9.2
Kiho Aug 14, 2021
5387b9b
Change ElementStore to type
Kiho Aug 14, 2021
6d9d790
0.9.3
Kiho Aug 14, 2021
11d1ee6
Fix ElementStore type
Kiho Aug 14, 2021
908ffd9
Show error if heroku is not responding for demo
Kiho Sep 4, 2021
2b007ef
Add Custom Components section to readme
Kiho Sep 4, 2021
c60ac10
Update readme
Kiho Sep 4, 2021
5850513
Update README.md
Kiho Sep 4, 2021
81059b8
Issue 151 (#154)
Kiho Sep 12, 2021
c5cb04e
Added return data interface for the onSubmit prop of ReactFormGenerat…
rawasthi231 Jan 6, 2022
4a10706
0.9.6
Kiho Jan 6, 2022
7758fef
0.9.7
Kiho Jan 6, 2022
0fbb6d0
Implement i18n
dohoangtung Jan 18, 2022
4dd6cc7
complete the translation (i18n)
dohoangtung Jan 19, 2022
fabbf77
improve drag/drop & implemented translation
dohoangtung Jan 21, 2022
31e8c67
change opacity of header-back back to 0
dohoangtung Jan 21, 2022
ec39c6a
Fix drop item from toolbar and swap items in same row
Kiho Feb 28, 2022
f9885f0
0.10.0
Kiho Feb 28, 2022
fa0e2fe
Merge branch 'dohoangtung-master'
Kiho Feb 28, 2022
e5c97ec
Fix eslint issues
Kiho Feb 28, 2022
3c246da
0.10.1
Kiho Feb 28, 2022
084bc4a
Fix eslint issues
Kiho Mar 6, 2022
062d836
Allow ins tag to underline a text
Kiho Mar 29, 2022
1eb02ad
0.10.2
Kiho Mar 29, 2022
9df8c10
Fix DatePicker prevew style
Kiho Mar 30, 2022
fc45f8c
0.10.3
Kiho Mar 30, 2022
f6fb6f1
Implement date-picker time input (#170)
Kiho Apr 4, 2022
f22f941
Custom back button (#173)
Kiho Apr 6, 2022
5239a6a
Not mounted error (#175)
Kiho Apr 16, 2022
66fbd26
https://github.com/Kiho/react-form-builder/issues/180 (#181)
Kiho May 4, 2022
dc448e3
Try fix nextjs window is not defined error
Kiho May 11, 2022
c00e4ad
0.11.1
Kiho May 11, 2022
0396bd8
Limit image max-width to 100% in form
Kiho May 18, 2022
ba7c6b7
0.11.2
Kiho May 18, 2022
ceaaa51
Image size props on Camera component (#190)
Kiho May 20, 2022
ed02b9b
Instal file-saver package
kart1ka Jun 19, 2022
d261506
Add some more terms for translation
kart1ka Jun 19, 2022
45fbfa5
Add file upload form field to rfb
kart1ka Jun 19, 2022
d8a7727
Update demo to v0.11.3 (#197)
Kiho Jun 21, 2022
deae994
Merge branch 'master' of https://github.com/kart1ka/react-form-builde…
Kiho Jun 21, 2022
617aaec
Report error if upload fail
Kiho Jun 21, 2022
8cd977c
Merge branch 'kart1ka-master'
Kiho Jun 21, 2022
cfc6531
Crean dist folder before build & publish
Kiho Jun 30, 2022
059adfc
0.12.0
Kiho Jun 30, 2022
10bbfc0
Fix file download error (#200)
Kiho Jul 2, 2022
936e51f
Implement save form button (#201)
Kiho Jul 4, 2022
016badb
Fix Bug in saveFile method in FileUpload
kart1ka Jul 5, 2022
7fe8c4b
Update yarn.lock
Kiho Jul 6, 2022
29a910a
0.12.2
Kiho Jul 6, 2022
afe0213
Fix Bug in fetching fileName from req headers (#205)
kart1ka Jul 6, 2022
77cace2
0.12.3
Kiho Jul 7, 2022
80f1c6f
Remove static element in posting data (#207)
Kiho Jul 7, 2022
f19b187
0.12.4
Kiho Jul 8, 2022
eb56ad2
add email component
fmoulton Jul 13, 2022
1c42085
add validation to email input
fmoulton Jul 13, 2022
217ec2a
add english options for email type
fmoulton Jul 13, 2022
17dea4a
add emailInput to sortable
fmoulton Jul 13, 2022
638f26d
add email component to toolbar with proper icon
fmoulton Jul 13, 2022
3bb566f
File upload allow video (#209)
fmoulton Jul 16, 2022
0b1dc5d
Merge branch 'add-email-input-type' of https://github.com/culturefoun…
Kiho Jul 16, 2022
d93ef25
Allow blank email if it's not required
Kiho Jul 16, 2022
29443e0
0.13.0
Kiho Jul 16, 2022
43a1aba
Merge branch 'culturefoundry-add-email-input-type'
Kiho Jul 16, 2022
3efc313
Upgrade next example to next.js 12.2.2 (#212)
Kiho Jul 19, 2022
ffde11b
Cleanup
Kiho Jul 19, 2022
fce32ef
Add phone number input (#213)
fmoulton Jul 23, 2022
1888ecd
Update examples/demo to react 18
Kiho Jul 23, 2022
bd6ae57
Merge branch 'master' of https://github.com/Kiho/react-form-builder
Kiho Jul 23, 2022
d72ae0b
Modify Camera component to upload image as a file object
kart1ka Jul 24, 2022
7d5d4fb
Change input type of Phone Component to number
kart1ka Jul 24, 2022
472c239
Revoke Object URL after the img has loaded in Camera
kart1ka Jul 26, 2022
3a03733
Merge branch 'master' of https://github.com/kart1ka/react-form-builde…
Kiho Jul 28, 2022
2bcc2b4
Change PhoneNumber input type to tel
Kiho Jul 28, 2022
d329807
Merge branch 'kart1ka-master'
Kiho Jul 28, 2022
9bae3b8
Merge branch 'master' of https://github.com/Kiho/react-form-builder
Kiho Jul 28, 2022
5fec3b2
Revert to webpack 4
Kiho Jul 28, 2022
8976be1
Adjust image size in dialog
Kiho Jul 29, 2022
584490c
0.13.1
Kiho Jul 29, 2022
aac1a73
add missing type to FormBuilderProps to use custom renderEditForm in …
gerinagy Aug 12, 2022
b221512
Update docs to 0.13.1
Kiho Aug 23, 2022
9cbd297
Merge branch 'master' of https://github.com/Kiho/react-form-builder
Kiho Aug 23, 2022
697fb52
Save form data on preview (demo)
Kiho Aug 23, 2022
89be33b
0.13.2
Kiho Aug 23, 2022
8f68b68
Upgrade to react v18 in next example
Kiho Oct 2, 2022
d30e482
Fix - Range - visible marks. #218
Kiho Oct 10, 2022
f830ae4
Made readonly work with Rage component
Kiho Oct 12, 2022
f6b6c8d
Implement component group in toolbar (#226)
Kiho Oct 16, 2022
464eb8e
Update custom example
Kiho Oct 28, 2022
adc1667
Fix Issue #232 - Elements Deleting when dragging
Kiho Oct 28, 2022
fb6c4c0
Fix image position to center
Kiho Nov 11, 2022
45cb55c
0.14.1
Kiho Nov 11, 2022
7e638bc
Fix - Previous auto added element not removed when dropping into mult…
Kiho Nov 19, 2022
2d0c064
Change logic to setLastItem
Kiho Nov 19, 2022
31e283c
Merge pull request #236 from Kiho/issue-235
Kiho Nov 29, 2022
697913a
0.14.2
Kiho Nov 29, 2022
46e95f4
fix custom element style
jemikanegara Dec 1, 2022
a4b18b8
Merge pull request #238 from jemikanegara/master
Kiho Dec 3, 2022
a7b40ad
update typing for submitButton
Jan 8, 2023
e590e4f
Merge pull request #244 from mattwedge/master
Kiho Jan 8, 2023
a2610fe
Render demo project with ReactDOM.createRoot
Kiho Feb 26, 2023
6c4f36e
Merge branch 'master' of https://github.com/Kiho/react-form-builder
Kiho Feb 26, 2023
0ba0c77
fixed registry export
Mar 13, 2023
dec1ef1
Merge pull request #252 from didinadir1/master
Kiho Mar 15, 2023
b77da9a
0.14.3
Kiho Mar 15, 2023
c719183
Initialize properties by element instead of key
Kiho Mar 29, 2023
4ee3682
Fix - email validation Error duplicate label name #255
Kiho Mar 29, 2023
240eb9e
0.15.0
Kiho Mar 29, 2023
8fb00c0
Fix issue with multiple instance of custom radio buttons
Kiho Apr 24, 2023
3e3ec9d
0.15.1
Kiho Apr 24, 2023
3c37b17
Fix issue #258
Kiho Apr 28, 2023
96b6d19
0.15.2
Kiho Apr 28, 2023
314089f
website link formate, field label center align issue
May 12, 2023
73591cd
Initialize all options of custom element
Kiho May 14, 2023
22473c8
0.15.3
Kiho May 14, 2023
65213ad
Fix publish on node 18
Kiho May 14, 2023
cb5fae5
form-label class directly called in label component
May 15, 2023
d0ca6d3
removed i from package json
May 16, 2023
4c85495
Merge branch 'master' into master
Kiho May 16, 2023
c0a17cd
Merge pull request #268 from aliyazahid/master
Kiho May 16, 2023
c36f5c9
Merge branch 'master' of https://github.com/Kiho/react-form-builder
Kiho May 16, 2023
17a9ead
Update yarn.rock
Kiho May 16, 2023
fec8261
0.15.4
Kiho May 16, 2023
fd7d53d
single field set with fox rows
cashpricemd May 18, 2023
2881b16
Merge branch 'master' of https://github.com/blackspider1994/react-for…
cashpricemd May 18, 2023
333b55c
add: field set control component added
cashpricemd May 19, 2023
3347d39
feat: seperate fieldset component added
cashpricemd May 19, 2023
f7f48e8
code cleanup
cashpricemd May 19, 2023
c038959
fix: fieldset label added
cashpricemd May 19, 2023
a328e71
code clean up
cashpricemd May 19, 2023
0180a21
add: fieldset language translation added
cashpricemd May 19, 2023
c5a3dca
Cleanup duplicated code
Kiho May 20, 2023
aba82df
Feature/fieldset (#272)
blackspider1994 May 20, 2023
bb7667b
Merge branch 'merge-fieldset'
Kiho May 20, 2023
a71b9fb
0.16.0
Kiho May 20, 2023
ba0b1d6
Remove unused files
Kiho May 22, 2023
a0028e8
Added ITA Language (#274)
electrixx90 Jun 26, 2023
bc8f0cd
Remove VS settings.json
Kiho Jun 26, 2023
16695f1
Update README.md
Kiho Jun 28, 2023
9ce1bbc
Added onBlur and onChange also added id to the data object that gets …
AustinMKerr Jun 28, 2023
aca16a6
Don't need to bind this again in jsx
Kiho Jun 28, 2023
1b19e1c
0.16.2
Kiho Jun 28, 2023
8d2a9b7
Disable backdrop in demo page
Kiho Aug 6, 2023
fc41ab3
Parse the input value before format it in date picker
bflatmajor Aug 9, 2023
99a14ce
Merge branch 'bflatmajor-master-1'
Kiho Aug 12, 2023
db0dc78
Remove placeholder from iOS date input
Kiho Aug 12, 2023
8b261bd
0.16.3
Kiho Aug 12, 2023
39f98e8
0.16.4
Kiho Aug 12, 2023
1977f2a
Fix examples
Kiho Aug 31, 2023
fb915c1
Fix bug - can't drag custom element in multi column row
Kiho Sep 5, 2023
3e027e5
0.16.5
Kiho Sep 5, 2023
b82e5c2
Merge pull request #284 from Kiho/issue-283
Kiho Sep 5, 2023
0678d81
remove node-sass slow-deps to decrease npm i time
theshadow27 Nov 22, 2023
9a68f72
Merge pull request #290 from theshadow27/master
Kiho Nov 24, 2023
6e5d29d
fix: Cannot have two HTML5 backends at the same time #304
richardpickett Jul 9, 2024
7eaf761
Do not trim value on change do it on blur
Kiho Jul 10, 2024
9c72907
Merge branch 'fix-cannot-have-two-HTML5-backends-at-the-same-time' of…
Kiho Jul 10, 2024
a975050
Merge branch 'richardpickett-fix-cannot-have-two-HTML5-backends-at-th…
Kiho Jul 10, 2024
eff2822
0.17.0
Kiho Jul 10, 2024
15e9cbc
Add Persian translation
mahdi4k Aug 10, 2024
1ea4b4a
add locale to model FormBuilderProps & FormGeneratorProps
mahdi4k Aug 10, 2024
8a8ea59
Merge branch 'mahdi4k-add-persian-translation'
Kiho Aug 13, 2024
e547d39
0.17.1
Kiho Aug 13, 2024
723abcb
Don't clear the Signature field when the browser triggers a resize ev…
cometfish Aug 19, 2024
e561fa1
Update form.jsx
Kushal0891 Aug 22, 2024
055d1e0
Update form.jsx
Kushal0891 Aug 22, 2024
e292d61
Update form.jsx
Kushal0891 Aug 22, 2024
9d16a75
Merge pull request #313 from cometfish/master
Kiho Sep 1, 2024
22667a7
Merge pull request #314 from Kushal0891/patch-1
Kiho Sep 1, 2024
33af772
0.18.0
Kiho Sep 1, 2024
e1443ae
fixing issue with a form element sometimes getting deleted when you i…
skimble Oct 1, 2024
5c0bf97
Merge pull request #319 from gnr/dnd-fixes
Kiho Oct 7, 2024
8770270
0.18.1
Kiho Oct 8, 2024
62a6316
0.18.2
Kiho Oct 9, 2024
471cbe9
Revert "patch to fix option to store option value instead of key"
Kiho Oct 15, 2024
266847b
Merge pull request #324 from Kiho/revert-314-patch-1
Kiho Oct 15, 2024
742b4f5
0.19.0
Kiho Oct 15, 2024
d8a6518
Use "key" or "value" of checked option item in json data
Kiho Oct 25, 2024
8b10264
0.18.3
Kiho Oct 25, 2024
82c75b8
Merge pull request #329 from Kiho/option-key-value
Kiho Oct 25, 2024
5a78d18
Add download_path to FormGeneratorProps
Kiho Oct 27, 2024
bc7a9cc
0.18.4
Kiho Oct 27, 2024
1df6396
Fixing bug with checkbox not being checked when viewing a filled out …
skimble Nov 6, 2024
3d0f24b
Merge pull request #331 from gnr/checkbox-fix
Kiho Nov 12, 2024
af96d00
Merge branch 'master' of https://github.com/Kiho/react-form-builder
Kiho Apr 18, 2025
69cd29d
Fix chekboxs & radio buttons inconsistent option ID
Kiho Apr 18, 2025
1ad91cd
0.18.5
Kiho Apr 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"presets": [
"es2015",
"react"
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-transform-runtime"
]
}
}
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
max_line_length = 80
trim_trailing_whitespace = true

[*.md]
max_line_length = 0
trim_trailing_whitespace = false

[COMMIT_EDITMSG]
max_line_length = 0
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/variables.js
**/webpack.*.js
/docs/*.*.js
39 changes: 39 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parser": "babel-eslint",
"extends": ["airbnb-base"],
"plugins": [
"react"
],
"globals": {
"window": true,
"document": true,
"navigator": true
},
"rules": {
"max-len": [1, 180, 2, {"ignoreComments": true}],
"semi": [2, "always"],
"comma-dangle": "warn",
"camelcase": "warn",
"prefer-destructuring": "warn",
"no-param-reassign": "warn",
"linebreak-style": 0,
"operator-linebreak": "off",
"no-underscore-dangle": "off",
"class-methods-use-this": "off",
"arrow-parens": "off",
"indent": "off",
"no-plusplus": "off",
"no-return-assign": "off",
"object-curly-newline": "off",
"no-prototype-builtins": "warn",
"react/jsx-uses-vars": [2],
"react/jsx-uses-react": 1
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx"]
}
}
}
}
52 changes: 49 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,50 @@
# Logs
logs
*.log
npm-debug.log*
.idea/
*.iml
.DS_Store


# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
components
example/bundle.js
example/.git
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

dist/
lib/
public/app.*
public/uploads/
public/temp

# bundles
bundle.js
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
Loading