I would like the counter element to appear aligning to the right side of the input, instead of the default left side (LTR).
When I have an <ion-label slot="error"> and the input is invalid, the error label appears and pushes the counter to exactly where I want it to appear now.
By controlling its position, it would not only it be on the opposite side of the input, but also remain stationary.
As of 6.0.0-rc.0, it is not a shadowDOM ::part nor is it an exposed CSS variable.
I have been poking around with my dev tools trying to find a work around since it is not an actual DOM element on my template.
I just wonder if it is an adjustment anyone else was trying to make as well
@ldebeasi@mhartington would this be something coming as the RC gets rolled out? I didnt know if this would merit a feature request
In item 1 and 2, its just the counter, appearing aligned to left/start
in item 3 and 4, the minlength validator exposes the error slot and helper slot ion-label both push the counter to align right/end.
It just looks like there is no way to control position/styling of the counter yet.
also in doing so it looks like theres a bug with the floating/stacked position when error and helper are visible too…I included a screenshot
TS
ok - ion-note takes care of the secondary problem! good to know about the ion-labels, i dont think i ever realized that
but there still does not appear to be any control for styling the counter element.
According to the MD docs, the counter appears right/end in their examples, as well.
maybe adding a string value to the counter a la counter="start|end|undefined"?
and anything for ::part(counter) or counter css variables