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

conditionals #43

Open
biskit opened this issue Apr 5, 2017 · 18 comments
Open

conditionals #43

biskit opened this issue Apr 5, 2017 · 18 comments

Comments

@biskit
Copy link

biskit commented Apr 5, 2017

can i have conditional display of values? like ticking a checkbox or selecting a radio to open up an input.

@stevehu
Copy link
Contributor

stevehu commented Apr 6, 2017

Yes. I am very business these days and I will add an example for that once I have spare time. Take a look at the following example (kitchen sink) for angular-schema-form and the syntax is the same for react-schema -form.

http://schemaform.io/examples/bootstrap-example.html

@donalmurtagh
Copy link

donalmurtagh commented Jan 18, 2018

I tried this out by making the following change to the Simple example on the demo page

In the form definition, replace

"email",

with:

{
  "key": "email", 
  "condition": "model.name === 'foo'"
},

This should make the email field visible only if the name field has the value "foo", but it doesn't work. Incidentally, I also tried using modelData in the condition instead of model but that doesn't work either.

@gitcoinbot
Copy link

This issue now has a funding of 0.05 ETH (18.77 USD @ $375.45/ETH) attached to it.

  • If you would like to work on this issue you can claim it here.
  • If you've completed this issue and want to claim the bounty you can do so here
  • Questions? Get help on the Gitcoin Slack
  • $2250.09 more Funded OSS Work Available at: https://gitcoin.co/explorer

@vs77bb
Copy link

vs77bb commented Apr 7, 2018

Hi @GUIEEN we haven't heard from you so Gitcoin Bot will return this to an active status.

@gitcoinbot
Copy link

@GUIEEN are you still working on this issue?

2 similar comments
@gitcoinbot
Copy link

@GUIEEN are you still working on this issue?

@gitcoinbot
Copy link

@GUIEEN are you still working on this issue?

@rrandom
Copy link

rrandom commented May 2, 2018

Seems this issue was already been resolved with the example condition, though the examples in gh-pages does not have it

@stevehu
Copy link
Contributor

stevehu commented May 2, 2018

The examples in gh-pages haven't updated for a while. I will try to rebuild it and republished. We have basic conditional fields but I don't know if that meets @biskit's requirement.

@vs77bb
Copy link

vs77bb commented May 8, 2018

Hi @stevehu are you still looking for help from a Gitcoin Bounty Hunter here?

@gitcoinbot
Copy link

@eswr Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • warning (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

2 similar comments
@gitcoinbot
Copy link

@eswr Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • warning (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@gitcoinbot
Copy link

@eswr Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • warning (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@spm32
Copy link

spm32 commented Jul 2, 2018

Hey @eswr are you still working on this? Will need to return it to the crowd in a day or so if we don't hear back. Thanks!

@gitcoinbot
Copy link

@eswr Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • warning (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@eswr
Copy link

eswr commented Jul 3, 2018

hi @ceresstation
I could not even get the example to run. It is better to let someone else do it.
I selected 'stop work' on gitcoin

@gitcoinbot
Copy link

@stevehu this one has been open for a while, would recommend clawing back the funds if you'd like.

@stevehu
Copy link
Contributor

stevehu commented Aug 11, 2018

@gtaschuk I think it is funded by you. What would be the next action? Thanks.

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

No branches or pull requests

9 participants