Browse Source

Merge pull request #183 from Conor-Mack/bugfix/md-reference-bb-apis

Bugfix: datepicker needed to pass _bb down to the textfield
gh-pages
Conor_Mack 7 years ago
committed by GitHub
parent
commit
888ecc4a7f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/materialdesign-components/src/DatePicker/DatePicker.svelte
  2. 2
      packages/materialdesign-components/src/Textfield/Textfield.svelte

1
packages/materialdesign-components/src/DatePicker/DatePicker.svelte

@ -98,6 +98,7 @@
<div class="mdc-menu-surface--anchor">
<Textfield
{_bb}
{label}
onChange={dateFieldChange}
value={selectedDate}

2
packages/materialdesign-components/src/Textfield/Textfield.svelte

@ -129,6 +129,7 @@ TODO:Needs error handling - this will depend on how Budibase handles errors
{#if renderLeadingIcon}
{#if useIconButton}
<IconButton
{_bb}
{icon}
context="mdc-text-field__icon mdc-text-field__icon--leading"
onClick={iconButtonClick} />
@ -152,6 +153,7 @@ TODO:Needs error handling - this will depend on how Budibase handles errors
{#if renderTrailingIcon}
{#if useIconButton}
<IconButton
{_bb}
{icon}
context="mdc-text-field__icon mdc-text-field__icon--trailing"
onClick={iconButtonClick} />

Loading…
Cancel
Save