Commit graph

4 commits

Author SHA1 Message Date
Erik Jan de Wit
2543893373
Change the input fields based on access rights (#184)
* poc of possible way to change form dynamically

* fixed detail routs

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* Update src/components/form-access/FormAccess.tsx

Co-authored-by: Stan Silvert <ssilvert@redhat.com>

* added more form access and logic for Controller

* render switches for boolean types

* better render of `<Controller` wrapped components

* added isDisabled property

* added test

* small refactor

* fixed types

* TextArea doesn't support isDisabled

* when field is disabled, disable button as well

* added jsdoc

Co-authored-by: Stan Silvert <ssilvert@redhat.com>
2020-10-28 14:17:15 -04:00
Erik Jan de Wit
050f6aaed5
added more tests (#59) 2020-09-03 13:25:35 -04:00
Erik Jan de Wit
a1e637c5da
Added tests for alert component. (#43)
* added enzyme

* alert test
2020-08-31 10:23:57 +02:00
Erik Jan de Wit
14860ae628 initial version
change favicon based on env props
2020-08-05 17:00:38 +02:00