Chancellor Clark
e78ab11408
fix: playground links directing to old playground ( #1449 )
2019-09-05 07:33:19 -07:00
Ashwin Ramaswami
bc15e23f5a
doc: fix browserstack logo size
2019-01-21 09:05:27 -08:00
Ashwin Ramaswami
f62cfc4fe1
docs: remove docs from README and link to readthedocs #1138
2019-01-21 09:04:15 -08:00
Ashwin Ramaswami
67ff7da0dc
doc: add browserstack logo #990
2019-01-21 08:37:58 -08:00
Lucian Buzzo
251a274fe4
Add test and update documentation for using anyOf inside array items ( #1131 )
...
* Add test and update documentation for using anyOf inside array items
Signed-off-by: Lucian <lucian.buzzo@gmail.com >
2019-01-21 07:37:16 -08:00
Ashwin Ramaswami
3606c7c360
fix: fix build status travis ci badge
2019-01-20 20:39:58 -08:00
Ashwin Ramaswami
55c0261f24
doc: fix typo
2019-01-20 16:22:46 -08:00
Eric Lanehart
98d7bc3522
Fix custom boolean option labels using oneOf schemas ( #1137 )
...
* Allow boolean option label overrides with oneOf schema
* Add oneOf RadioWidget playground sample
* Document oneOf RadioWidget usage
* Allow boolean enum options to be re-ordered for consistency with oneOf behavior
2019-01-19 07:10:07 -08:00
Ashwin Ramaswami
4a1f75486b
doc: rename, fix typos for form disabled section
2019-01-18 17:59:43 -08:00
Ashwin Ramaswami
0a48b41a4b
doc: fix spacing
2019-01-18 17:15:13 -08:00
Lucian Buzzo
b068705b32
Expand anyOf support to also support oneOf ( #1133 )
...
Signed-off-by: Lucian <lucian.buzzo@gmail.com >
2019-01-18 16:43:51 -05:00
Maria Comas
f27a24db1b
Fix typos ( #1135 )
2019-01-18 16:31:17 -05:00
Lucian Buzzo
66d800e915
Add preliminary support for the anyOf keyword ( #1118 )
...
* Add preliminary support for the anyOf keyword
This change introduces support for the `anyOf` keyword. The keyword is NOT
supported in arrays (using the `items` keyword).
Options provided in the `anyOf` keyword are rendered using a new
component called `AnyOfField` this can be overridden with a custom
field using the `fields` property.
Signed-off-by: Lucian <lucian.buzzo@gmail.com >
* Refactor unnecessary .map
* Change selected option based on form data
* Update README
* Update README FAQ
* Share prop types between fields
2019-01-14 14:49:28 -05:00
olzraiti
a3e0e9a397
Pass disabled and readonly to object field template ( #1088 )
...
* ObjectField passes readonly & disabled prop to template
* Update README
2019-01-10 14:10:33 -05:00
0xflotus
3a37dd2396
fixed individually ( #1109 )
2019-01-10 13:48:10 -05:00
Nataliya Karatkova
3d1524d2b8
A small semantic fix ( #1112 )
...
Change `div` to `ul`, update react key
2019-01-10 12:04:52 -05:00
Ethan Glasser-Camp
23644059fb
Fix README about how to push
...
This keeps biting me.
2019-01-10 10:35:57 -05:00
Razeel Akbar
c5c52f11a9
Docs updated: Firefox date, time support ( #1115 )
...
Firefox date, time input types partial support starting from Firefox 57
2019-01-05 21:23:42 +01:00
Jonathan Grimmtjärn
951aa580de
Added hideNowButton and hideClearButton options to alt-date widget ( #1055 )
2018-11-16 17:26:12 -05:00
Logan Volkers
b3fb5ae703
Update Readme with useful docs from #1050 ( #1053 )
...
This has been a regular source of confusion on my own organization, so I figured it was about time to help summarize it in one place.
2018-10-19 16:33:58 -04:00
Jonathan Grimmtjärn
04cd62749d
Fixed a small typo in the Object Field Template section ( #1057 )
2018-10-19 16:30:21 -04:00
Weiye Sun
f9c70314d5
Add sumbit method to enable the programmatic submission ( #1058 )
2018-10-19 16:29:27 -04:00
Jonathan Grimmtjärn
b442b14034
Added form disabled prop ( #1056 )
...
* Added form disabled prop
* Added the form-disable section in the TOC
2018-10-19 16:27:00 -04:00
0xflotus
6c67a0b656
changed texst to text ( #1025 )
2018-10-03 16:51:04 -04:00
Ethan Glasser-Camp
5a590f5a10
Document experimental nature of additionalProperties UX
2018-10-01 21:18:35 -04:00
Christian Lent
1d54db6de4
Add preliminary support for object "additionalProperties" ( #1021 )
...
* Initial commit for additionalProperties
* Resolve PR feedback:
* avoid modifying parameters
* avoid unnecessary let using returns
* eliminate unnecessary bind
* terse closure return syntax
* take advantage of class fields
* Fix validation naming issue on additional key change
Fix misnamed "additionalProperties" attribute
Invert conditional to reduce indentation
Added unit tests to ensure non-schema properties are maintained
2018-10-01 21:17:11 -04:00
Herb Caudill
e0192b75d2
Readme edits ( #942 )
...
* docs(readme): values and names are the same in this example
* docs(readme): Multiple edits for grammar & clarity
2018-06-04 12:17:12 +02:00
Luca Fabbri
66ab17a72b
Now supporting yearsRange for customizing years in alt-date widgets. Close #898 ( #917 )
2018-05-14 13:52:28 -04:00
Ethan Glasser-Camp
32507aa158
Add a FAQ entry regarding collapsible form groups ( #924 )
...
Refs #920 .
2018-05-11 16:00:51 -04:00
Roberto Alvarez
3df491769f
Fix typo in readme ( #903 )
2018-05-10 11:43:46 -04:00
Edgar Hipp
e4378c2a0b
Add idPrefix option ( #883 )
2018-04-10 10:51:11 +02:00
Jasmine Hegman
494d82df02
Updated README to mention the support from JSON Schema compliant drop-down enums ( #882 )
2018-04-05 07:39:09 +02:00
Ben Hutton
52b3d50149
Link to official JSON Schema site ( #873 )
2018-04-05 07:36:39 +02:00
sinbonders
5391d23528
a priori should be italicized for readibility ( #825 )
...
* Priori should by prior, I think
* Italicizing a priori based on suggestion
2018-01-26 17:18:15 -05:00
Ashwin Ramaswami
c06be3105a
typo ( #811 )
2018-01-18 15:10:06 +01:00
Edgar Hipp
51d403ab44
Add idPrefix option ( Fix #796 ) ( #806 )
2018-01-13 16:26:52 +01:00
Ore Landau
d4b34a1c34
README: fix code snippet ( #785 )
2018-01-10 15:11:05 -05:00
Ashwin Ramaswami
3a58b6a763
fix typo in css code ( #799 )
2018-01-10 15:10:38 -05:00
Tomasz Cichocinski
7654b24f9d
Fix onAddClick signature in ArrayFieldTemplate ( #775 )
...
According to https://github.com/mozilla-services/react-jsonschema-form/blob/master/src/components/fields/ArrayField.js#L224 `onAddClick` is not returning function as specified in the documentation.
2018-01-10 14:43:41 -05:00
Andrew
f4583f9acd
fix: Pass disabled prop to FieldTemplate. ( #741 )
...
If you want to change how your FieldTemplate is rendered based on
ui:disabled, you currently have to check `uiSchema["ui:disabled"]`,
which is unlike the pattern for `readonly` and other known `ui:*`
settings.
2017-11-09 16:39:15 -05:00
Nicholas
a8b77b9048
Make form submission example clearer ( #736 )
...
In the example, the `onSubmit` function receives a `formData` obj. However, the actual data is in `formData.formData`. While this is explained in the docs, I propose making it clearer in the example as well.
2017-11-09 15:25:16 -05:00
ojab
775bd59c40
Typo fix ( #737 )
2017-11-09 15:24:06 -05:00
Oliver
167c054ebd
Updates conditional field example ( #734 )
...
Fixes errors with the dependencies on the conditional field example.
2017-10-23 12:07:34 -04:00
Mark Fulton
132a6cce1f
Initial support for property & schema dependencies ( #659 )
...
* Add initial dependencies support
- Property dependencies: Make additional properties required whenever
a trigger property is specified.
- Schema dependencies: Dynamically add schema properties based on data
entered.
* README.md: explain usage in schema dependencies
* Add documentation explaining how oneOf works here
* Throw error on wildly invalid schema
* Use hasOwnProperty to check for possibly-missing key
* Tests that demonstrate a need for a retrieveSchema
* retrieveSchema needs to happen before checking for oneOf
2017-10-23 12:01:32 -04:00
Ethan Glasser-Camp
c0ab365e8e
Add some philosophical descriptions of rjsf ( #707 )
2017-10-13 15:19:16 -04:00
Vijaya Krishna
a4a51f782c
Options disable ( #708 )
...
* option disable feature added
* option disable feature added
* option disable feature added
* option disable feature added
* options disable feature
* Improve test to ensure only one option is disabled
2017-10-13 13:34:52 -04:00
Nicholas
4785f4ad44
Fix typos in README.md ( #717 )
2017-10-13 10:16:05 -04:00
Ethan Glasser-Camp
3887eb9ea5
Maybe it's better to edit package.json first
2017-10-09 13:21:27 -04:00
olzraiti
8e9aec57dd
Add ObjectFieldTemplate ( #653 )
...
* Add ObjectFieldTemplate
* ObjectFieldTemplate properties are representative objects instead of React elements
* prettier
* Update README & rename ObjectFieldTemplate props children to content
* Update README
* Fix ObjectFieldTemplate test
* Ran cs-format & cs-check
* Remove index from ObjectFieldTemplate props
* Ran cs-format & cs-check
2017-10-05 16:46:39 -04:00
olzraiti
3c070ee9b7
Make BaseInput overridable ( #699 )
...
* Make BaseInput overridable
* prettier
* Update README
2017-09-29 11:13:48 -04:00