-
Notifications
You must be signed in to change notification settings - Fork 0
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(Field): allow suffix and prefix #756
Conversation
He ajustat dels 3 components amb totes les variants i els he provat a
He aprofitat per optimitzar el rendiment dels 3 components amb memo, useMemo i useCallback per evitar renderitzats innecessaris He creat un component AddOnElement comú pels 3 components per reduir codi duplicat i millorar el rendiment Fes-hi una ullada i prova si pots el tema dels addons, que és el que em falta per provar que es vegi correctament. Ho he pujat a |
# [2.47.0](v2.46.1...v2.47.0) (2024-12-12) ### Features * autorefresh fields ([#738](#738)) ([a880c0f](a880c0f)) * **Field:** allow suffix and prefix ([#756](#756)) [skip ci] ([64a48bd](64a48bd)) * update gisce/ooui to v2.24.0 ([#765](#765)) [skip ci] ([3473685](3473685)) * update gisce/react-formiga-table to v1.9.0 ([#766](#766)) [skip ci] ([89cba68](89cba68))
Vigent a la v2.40.0 |
This pull request includes enhancements to the
Char
,Float
, andInteger
input components in thesrc/widgets/base
directory. The changes mainly focus on adding support for prefixes and suffixes to these input fields.Enhancements to input components:
src/widgets/base/Char.tsx
: Added support forprefix
andsuffix
properties to theCharInput
component, displaying them with a disabled text color. [1] [2]src/widgets/base/Float.tsx
: Added support forprefix
andsuffix
properties to theFloat
component, displaying them with a disabled text color.src/widgets/base/Integer.tsx
: Added support forprefix
andsuffix
properties to theInteger
component, displaying them with a disabled text color.