You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To enhance the re-usability of this component it would be a great enhancement being able to override the button-labels for i18n purposes.
I think there are two solutions for this problem:
Configuration-Object
Just like Vaadin's Date-Picker handles it, you would give the ud-stepper an Object with all the texts you would like to be replaced. The big advantage of this purpose is that, as a user of this component, you only have to define your texts and configuration once and add it to every stepper you use. Of course it's a bit more work for implementing it correctly, but it shouldn't be too hard.
Configuration via property
When using the property-approach, you can add a property to each stepper (e.g. button-skip-label) and override the texts this way. This appraoch is way easier for you to implement, but it would get quite repetitive and hard to maintain when using multiple steppers with multiple steps in one application.
Kind regards
Fabian
The text was updated successfully, but these errors were encountered:
Hello!
To enhance the re-usability of this component it would be a great enhancement being able to override the button-labels for i18n purposes.
I think there are two solutions for this problem:
Just like Vaadin's Date-Picker handles it, you would give the ud-stepper an Object with all the texts you would like to be replaced. The big advantage of this purpose is that, as a user of this component, you only have to define your texts and configuration once and add it to every stepper you use. Of course it's a bit more work for implementing it correctly, but it shouldn't be too hard.
When using the property-approach, you can add a property to each stepper (e.g.
button-skip-label
) and override the texts this way. This appraoch is way easier for you to implement, but it would get quite repetitive and hard to maintain when using multiple steppers with multiple steps in one application.Kind regards
Fabian
The text was updated successfully, but these errors were encountered: