Materialdesign: Rename conflicting form input icons

Created on 9 Mar 2020  路  6Comments  路  Source: Templarian/MaterialDesign

In our 5.0 release, we renamed all the file-document-box icons to text-box. This is a welcome change, however it clashes with an icon we already have simply called textbox. Importing both in @mdi/js, for example, looks like this:

import { mdiTextBox, mdiTextbox } from '@mdi/js';`

Not ideal.


We should rename our "form" based textbox, and a few others that match its intention, for better clarity.

  • [x] Rename textbox => form-field-textbox
  • [x] Rename textbox-lock => form-field-textbox-lock
  • [x] Rename textbox-password => form-field-textbox-password
  • [x] Rename textarea => form-field-textarea

If there are others I missed, or make sense to follow this naming pattern, please feel free to edit and add them.

Breaking Change Bug

All 6 comments

Could probably add date, time, color, number, image, file, email, phone, map-marker, select.

I'm not sure I actually view this as an issue. Maybe a 6.0 thing we can look at later on.

This is definitely a thing, I've already had several people reach out to me and complain today.

Okay, lets push these in 5.1.45? I think it could bite us for users that remove - from the names or ENUM values.

Reassigned to the 5.1.xx milestone. This is actually causing issues for third party scripts that consume meta.json. 馃槩

  • [ ] Add script to verify no name collisions when - is removed.

Closing. We'll track the script seperately.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alvaroc1 picture alvaroc1  路  3Comments

EdricChan03 picture EdricChan03  路  3Comments

xaviergonz picture xaviergonz  路  3Comments

adambiggs picture adambiggs  路  3Comments

bckp1993 picture bckp1993  路  3Comments