-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
Autocomplete: allow modification/styling of underlying TextEdit-control #3834
Comments
In |
I think some of the parameters would make sense to pass onto the TextEdit. Like Class and Style. With the prefix
Or do you have a better naming in mind? |
Not really. Ideally, there's a generalized way to modify all the properties of all the inner controls (not only the ones for that are variables passed through). Not sure if it's worth it - but would be great :) In that special case I'd like to change the |
It's difficult to know to which subcomponent the parameter should be applied. That's why it is better to have them explicitly defined. |
Yeah, but having every (more or less useful) part customizable would't be feasible, too. So I have to hope that you will extend it the way I need. |
We did do an options based api on the |
That's a different use case. And the additional options would be defined through the single |
Not exaclty a different use case, I mean smthg like this. And then you could just use TextEditOptions on every composite component that uses But yes, most implementations will require manual mapping I guess. Or I'm sure we can think of other ways with some kind of fluent mapping options, etc In theory this wouldn't be so bad, need to find an elegant way to implement this or something similar. |
I would apprecheate this, since I would like to modify styling of the textedit (color, etc.). |
I agree, I am using the AutoComplete styling but the font size is locked to that defined by the Bootstrap class Please can we get a parameter for styling the |
is there any update on this please? there is currently no way to customise font size on the Autocomplete form unless I am missing something. |
I can confirm it is still possible. We will add it in the 1.4 milestone. |
@steal4life Do it like this. |
Is your feature request related to a problem? Please describe.
I want to set some properties on the underlying control but there's no direct access to it.
E.g. I want to set
Plaintext
(or the class nameform-control-plaintext
) to the autocomplete control.Describe the solution you'd like
At least, one should be able to add css class names to the TextEdit-control.. (I can't think of a clean solution, but full control over the template would be even better - and that's true for really every control)
The text was updated successfully, but these errors were encountered: