Skip to content

Commit

Permalink
Update demos, exclude extra required and error-message
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-fix committed Jan 29, 2019
1 parent df39db1 commit de9dcb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo/custom-field-advanced-demos.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ <h3>Usage with iron-form</h3>
<vaadin-demo-snippet id="custom-field-advanced-demos-iron-form-example" when-defined="vaadin-custom-field">
<template preserve-content>
<iron-form>
<vaadin-custom-field name="invoice-date" label="Invoice date" required error-message="Please fill all fields">
<vaadin-custom-field name="invoice-date" label="Invoice date">
<vaadin-date-picker></vaadin-date-picker>
<vaadin-time-picker></vaadin-time-picker>
</vaadin-custom-field>
<vaadin-custom-field name="price" label="Price of the item" required error-message="Please fill all fields">
<vaadin-custom-field name="price" label="Price of the item">
<vaadin-text-field></vaadin-text-field>
<vaadin-select></vaadin-select>
</vaadin-custom-field>
Expand Down
2 changes: 1 addition & 1 deletion demo/custom-field-basic-demos.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h3>Native inputs</h3>
<h3>Custom DateTime Picker</h3>
<vaadin-demo-snippet id="custom-field-basic-demos-date-time-example" when-defined="vaadin-custom-field">
<template preserve-content>
<vaadin-custom-field label="Start datetime" required error-message="Please fill all fields">
<vaadin-custom-field label="Start datetime">
<vaadin-date-picker></vaadin-date-picker>
<vaadin-time-picker></vaadin-time-picker>
</vaadin-custom-field>
Expand Down

0 comments on commit de9dcb7

Please sign in to comment.