Skip to content
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

Added disabled attribute in autoform field #80

Merged
merged 2 commits into from
Mar 3, 2017

Conversation

nikhilarunw
Copy link
Contributor

This feature adds support of disabled attribute for autoform components.

Disabled attribute can be set on Field, Entity, EntityContainer, ArrayContainer.
Child entity/field will inherit disabled attribute from parent entity if available.
Value of Parent entity for disabled value will have preference over child's disabled attribute.

Child inherits disabled property from Parent.
Parent’s disabled property has preference over child’s disabled
property.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.001%) to 24.846% when pulling 5cc480a on nikhilarunw:feature-disabled into 06b3540 on redux-autoform:master.

@codecov-io
Copy link

codecov-io commented Mar 2, 2017

Codecov Report

Merging #80 into master will increase coverage by 0.04%.
The diff coverage is 14.28%.

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
+ Coverage   23.71%   23.76%   +0.04%     
==========================================
  Files          36       36              
  Lines         683      686       +3     
  Branches      108      108              
==========================================
+ Hits          162      163       +1     
- Misses        521      523       +2
Impacted Files Coverage Δ
src/components/field/Lookup.js 13.63% <ø> (ø)
src/components/common/Input.js 42.85% <ø> (ø)
src/components/common/FormControl.js 12% <0%> (ø)
src/components/field/EntityContainer.js 20% <0%> (-2.23%)
src/components/field/Radio.js 25% <0%> (ø)
src/components/field/CheckBox.js 30.76% <0%> (ø)
src/components/field/DateTimePicker.js 14.58% <0%> (ø)
src/components/field/ArrayContainer.js 11.76% <50%> (+1.56%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 06b3540...5cc480a. Read the comment docs.

@JonatanSalas JonatanSalas self-assigned this Mar 3, 2017
@JonatanSalas JonatanSalas self-requested a review March 3, 2017 17:10
@JonatanSalas
Copy link
Member

Great! I will merge the changes proposed! Thanks again for your contribution @nikhilarunw!

@JonatanSalas JonatanSalas merged commit 234a88f into redux-autoform:master Mar 3, 2017
@JonatanSalas
Copy link
Member

@nikhilarunw are you interested to become a contributor of those projects?

@nikhilarunw
Copy link
Contributor Author

Yes. I am interested to contribute.

@JonatanSalas
Copy link
Member

@nikhilarunw I wil gave you access to the redux-autoform repos. Welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants