문제

i had a popup that looks like this :

items : [{

    xtype: 'form',
    title: 'Upload a Photo',
    width: 400,
    bodyPadding: 10,
    frame: false,
    renderTo: Ext.getBody(),
    items: [{
        xtype: 'filefield',
        name: 'photo',
        fieldLabel: 'Photo',
        labelWidth: 50,
        msgTarget: 'side',
        allowBlank: false,
        anchor: '100%',
        buttonText: 'Select Photo...'
    }]
}]

i only copied the example in sencha docs but when i run it, it gives me this :

enter image description here

instead of this :

enter image description here

my concern is that the button 'choose file' displayed instead of 'select photo'

how can i solve this.. ?

도움이 되었습니까?

해결책

Solved the problem... As @evan-trimboli mentioned, it was a css conflict. Just run sencha app build command for your project and it will work fine..

Help yourself by helping others

다른 팁

I would add that run sencha app build, and then clear CACHE in browser.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top