Skip to content

Conversation

rvsia
Copy link
Contributor

@rvsia rvsia commented Nov 24, 2020

closes #899

  • is can be a custom function receiving value and config as arguments and should return boolean
  • adds 4 basic math comparators (>, >=, <, <=)

@rvsia rvsia added enhancement New feature or request renderer React form renderer PR labels Nov 24, 2020
@rvsia rvsia requested a review from Hyperkid123 November 24, 2020 10:36
@rvsia rvsia force-pushed the enhanceConditions branch from 1a80868 to e8ce65b Compare November 24, 2020 11:08
@codecov
Copy link

codecov bot commented Nov 24, 2020

Codecov Report

Merging #900 (e8ce65b) into master (86f6580) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #900      +/-   ##
==========================================
+ Coverage   93.36%   93.39%   +0.02%     
==========================================
  Files         235      235              
  Lines        3678     3692      +14     
  Branches     1211     1220       +9     
==========================================
+ Hits         3434     3448      +14     
  Misses        244      244              
Impacted Files Coverage Δ
...orm-renderer/src/files/default-schema-validator.js 99.15% <100.00%> (+0.02%) ⬆️
...s/react-form-renderer/src/files/parse-condition.js 98.21% <100.00%> (+0.38%) ⬆️

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 5c7e7ca...e8ce65b. Read the comment docs.

@Hyperkid123 Hyperkid123 merged commit f2a0524 into data-driven-forms:master Nov 24, 2020
@Hyperkid123
Copy link
Member

🎉 This PR is included in version 2.18.0 🎉

The release is available on

Demo can be found here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released renderer React form renderer PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to check a condition based on value of input?
2 participants