contentful / forma-36

A design system by Contentful

Home Page:https://f36.contentful.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› Bug - F36 v4 codemod migration TextField textLinkProps are not being migrated

andreascful opened this issue Β· comments

Forma 36 bug report

Summary

It seems that when a TextField is being migrated, nothing happens to the textLinkProps prop. No error is thrown, it is just not present in the newly created component.

Example:

<TextField
      id={name}
      name={name}
      labelText={label}
      helpText={description}
      required={isRequired}
      textInputProps={textInputProps}
      formLabelProps={formLabelProps}
    />

image

Environment

Steps to reproduce

Expected results

Actual results

@andreascful thanks for reporting it!

I'm afraid we forgot to support it in v4.
I would suggest using such a workaround for now:
https://f36.contentful.com/playground?code=N4Igxg9gJgpiBcICWBbADhATgFwAQCUYBDMPAM0whVw[…]o2jGRiWRIsYmJMnFNhUzHu7tezUPJhcC6OwyPVSuQzY5i9rK2tM7OwQHYgA

Marking issue as stale since there was no acitivty for 30 days

Since we have a workaround I will close this, I don't expect we'll come back to this but let's see.