form icon indicating copy to clipboard operation
form copied to clipboard

Better documentation, please!

Open tiffwu opened this issue 9 years ago • 9 comments

Trying to get started with react-form and I find the documentation lacking. It'd be great to get at least the high level component API documented -- for example, what is a RadioGroup? Why would I use it instead of (or in addition to) Radio?

tiffwu avatar Nov 20 '17 18:11 tiffwu

Ha yeah i know there are a few things that i need to still document better. Radios are typically generally not used independently. They exist as a group where you select one of them. So the radio group is the wrapper around radios that provides the group to each radio. There are technical reason fo implementing it this way. But again i agree i need to talk about it in the docs.

joepuzzo avatar Nov 20 '17 20:11 joepuzzo

You should also add "password" field into documentation.

dzienisz avatar Nov 22 '17 12:11 dzienisz

Just pass in type=password to the Text input

joepuzzo avatar Nov 22 '17 12:11 joepuzzo

@joepuzzo yes but that should be said in the docs haha. <> does not make explicit that we can pass the type attribute.

wilomgfx avatar Nov 26 '17 20:11 wilomgfx

I see a update I want to make on the documentation, where is the repo?

captDaylight avatar Dec 15 '17 15:12 captDaylight

Its under /dev.. eventually need to reorganize the dirs

joepuzzo avatar Dec 18 '17 01:12 joepuzzo

how to implement custom radios and selects?

janat08 avatar Feb 13 '18 19:02 janat08

I wound up using provided components in "custom elments" even if I only wanted custom styling (I don't know radiogroup handles validation.

janat08 avatar Feb 13 '18 19:02 janat08

Radio groups are no longer a thing in V3 and also i updated the docs to have an inputs section!

joepuzzo avatar Feb 23 '18 18:02 joepuzzo