I'm currently collaborating with a freelance client who is keen on incorporating Angular Material into our project. However, they are not satisfied with the appearance of the underline in the angular material input field. Despite my efforts to modify it, I have yet to achieve the desired outcome.
Truth be told, I haven't been able to locate the specific tag in the DOM that would allow me to customize that border.
You can find the Angular Material documentation here, which showcases all available options with some form of bottom border.
Here are a few methods I've attempted:
- This approach pertains to the old angular material and is no longer compatible with the updated version.
- The solution mentioned here applies to the new angular material version, but unfortunately, I couldn't make it work. Even after following the instructions precisely, there was no change in styling.
- I also explored this option which seemed promising. Regrettably, I encountered challenges in getting it to function as intended.
I welcome any assistance or insights on this matter.
The client has explicitly stated that any deviations from the desired design will not be accepted. Therefore, it is crucial for me to resolve this issue. While I am contemplating proposing a custom input component as a potential solution, the client remains committed to utilizing Angular Material.
Update: Included an image of the desired look: