-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
community π₯As we stopped improvements for this version ofVitamin, this issue needs to be done by the communityAs we stopped improvements for this version ofVitamin, this issue needs to be done by the communityenhancement πNew feature or requestNew feature or request
Description
Is your request related to a problem? Please describe.
Describe the solution you'd like
For now, when I would like to use vitaminTextFieldStyle or directly the Vitamin component, I can only pass a String for the label and helperText.
public func vitaminTextFieldStyle(
style: VitaminTextFieldStyle = .outlined,
label: String,
helperText: String? = nil,
state: Binding<VitaminTextFieldState>,
icon: VitaminTextField.IconConfiguration? = nil,
characterLimit: VitaminTextField.CharacterLimitConfiguration? = nil
)We should add variant to support LocalizedStringKey in addition to the existing API.
public func vitaminTextFieldStyle(
style: VitaminTextFieldStyle = .outlined,
label: LocalizedStringKey,
helperText: LocalizedStringKey? = nil,
state: Binding<VitaminTextFieldState>,
icon: VitaminTextField.IconConfiguration? = nil,
characterLimit: VitaminTextField.CharacterLimitConfiguration? = nil
)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
community π₯As we stopped improvements for this version ofVitamin, this issue needs to be done by the communityAs we stopped improvements for this version ofVitamin, this issue needs to be done by the communityenhancement πNew feature or requestNew feature or request
Type
Projects
Status
π Dev to do