Label method:setKeyboardType not working

Hey everybody! i want to ask a very strange question about juce::Label class

i called this function in my init function:


But when i run the demo,i can still input all type of text in the textbox , seems like numericKeyboard check is not working

anyone can help me please!