Bugfix: datepicker needed to pass _bb down to the textfiel

This commit is contained in:
Conor_Mack 2020-03-31 10:22:23 +01:00
parent 1b6d02be0d
commit 64330999f0
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -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} />