fix the phone input field showing the wrong placeholder (#9316)

This commit is contained in:
Kyℓe Hensel
2022-11-02 06:56:48 +13:00
committed by GitHub
parent 78d37fd7a8
commit 2bf92b42b9
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -324,6 +324,8 @@ export function uiFieldText(field, context) {
.attr('placeholder', isMixed ? t('inspector.multiple_values') : (field.placeholder() || t('inspector.unknown')))
.classed('mixed', isMixed);
if (field.type === 'tel') updatePhonePlaceholder();
if (field.key.split(':').includes('colour')) updateColourPreview();
if (outlinkButton && !outlinkButton.empty()) {