fix(core): update

This commit is contained in:
2020-12-09 23:05:13 +00:00
parent d369805ee8
commit 05a9042de8
8 changed files with 38 additions and 31 deletions

View File

@ -8,11 +8,13 @@ import { DeesInputRadio } from './dees-input-radio';
@customElement('dees-form')
export class DeesForm extends LitElement {
public static demo = () => html`
<dees-form style="display: block; margin:auto; width: 500px; padding: 20px; background: #111;">
<dees-input-text key="hello1"></dees-input-text>
<dees-input-text key="hello2"></dees-input-text>
<dees-form style="display: block; margin:auto; max-width: 500px; padding: 20px">
<dees-input-text key="hello1" label="a text"></dees-input-text>
<dees-input-text key="hello2" label="also a text"></dees-input-text>
<dees-input-checkbox key="hello3" label="another text"></dees-input-checkbox>
<dees-form-submit>Submit</dees-form-submit>
</dees-form>`;
</dees-form>
`;
public name: string = 'myform';