Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ffe-datepicker-react): add innerRef to Datepicker Props #1813

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

tuva-odegard
Copy link
Contributor

Legge til innerRef i datepicker props slik at forrige endring kan fungere ordentlig

Beskrivelse

En tidligere endring har lagt til innerRef til datepicker. Denne endringen legger det til i props-fila også, slik at den kan brukes utenifra uten feilmelding

Motivasjon og kontekst

Jeg forsøkte å bruke innerRef externt, men typescript fanger ikke opp at Datepicker har et felt som heter innerRef, fordi det ikke var definert i props.

Testing

Får testet etter den blir merget, om det går an å referere til innerRef uten av typescript klager.

@tuva-odegard tuva-odegard requested a review from a team as a code owner February 27, 2024 13:02
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1813.westeurope.2.azurestaticapps.net

@antidecaf antidecaf merged commit 843b772 into develop Feb 27, 2024
4 checks passed
@antidecaf antidecaf deleted the develop_daterpicker-ref-fix branch February 27, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants