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

feat(material): simple strings as textPreffix/textSuffix for form-fields #3867

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RomainPrevot
Copy link

@RomainPrevot RomainPrevot commented Feb 13, 2024

Update form field wrapper to handle simple text in textPreffix/textSuffix

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Small feature for the form field wrapper

What is the current behavior? (You can also link to an open issue here)
The textPreffix and textSuffix options only accept templateRef, but the hint accept both strings and templateRef

What is the new behavior (if this is a feature change)?
The textPreffix and textSuffix options now handle both strings and templateRef (like the hint)

Please check if the PR fulfills these requirements

Please provide a screenshot of this feature before and after your code changes, if applicable.

Other information:
Didn't found any unit test for this part

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants