github rjsf-team/react-jsonschema-form v0.37.0

latest releases: 5.22.4, v5.22.4, 5.22.3...
8 years ago
  • Fix #266: Introduce the ui:placeholder uiSchema directive. (#267)

Breaking change

We were previsouly using the description schema property to fill the placeholder attribute of text inputs; this is no more the case, you'll have to use the newly introduced ui:placeholder uiSchema directive instead.

Placeholders

Text fields can benefit from placeholders by using the ui:placeholder uiSchema directive:

const schema = {type: "string", format: "uri"};
const uiSchema = {
  "ui:placeholder": "http://"
};

Don't miss a new react-jsonschema-form release

NewReleases is sending notifications on new releases.