Merge pull request #183 from Conor-Mack/bugfix/md-reference-bb-apis
Bugfix: datepicker needed to pass _bb down to the textfield
This commit is contained in:
commit
888ecc4a7f
|
@ -98,6 +98,7 @@
|
||||||
|
|
||||||
<div class="mdc-menu-surface--anchor">
|
<div class="mdc-menu-surface--anchor">
|
||||||
<Textfield
|
<Textfield
|
||||||
|
{_bb}
|
||||||
{label}
|
{label}
|
||||||
onChange={dateFieldChange}
|
onChange={dateFieldChange}
|
||||||
value={selectedDate}
|
value={selectedDate}
|
||||||
|
|
|
@ -129,6 +129,7 @@ TODO:Needs error handling - this will depend on how Budibase handles errors
|
||||||
{#if renderLeadingIcon}
|
{#if renderLeadingIcon}
|
||||||
{#if useIconButton}
|
{#if useIconButton}
|
||||||
<IconButton
|
<IconButton
|
||||||
|
{_bb}
|
||||||
{icon}
|
{icon}
|
||||||
context="mdc-text-field__icon mdc-text-field__icon--leading"
|
context="mdc-text-field__icon mdc-text-field__icon--leading"
|
||||||
onClick={iconButtonClick} />
|
onClick={iconButtonClick} />
|
||||||
|
@ -152,6 +153,7 @@ TODO:Needs error handling - this will depend on how Budibase handles errors
|
||||||
{#if renderTrailingIcon}
|
{#if renderTrailingIcon}
|
||||||
{#if useIconButton}
|
{#if useIconButton}
|
||||||
<IconButton
|
<IconButton
|
||||||
|
{_bb}
|
||||||
{icon}
|
{icon}
|
||||||
context="mdc-text-field__icon mdc-text-field__icon--trailing"
|
context="mdc-text-field__icon mdc-text-field__icon--trailing"
|
||||||
onClick={iconButtonClick} />
|
onClick={iconButtonClick} />
|
||||||
|
|
Loading…
Reference in New Issue